---
id: object/table/9861
type: object
title: Table 9861 "Permission Set Relation Buffer"
summary: Table 9861 "Permission Set Relation Buffer" in System Application (System.Security.AccessControl). 14 fields. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - table
  - system application
versions:
  introduced: null
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 40ce71b84caee5a649642469430c01fe48bf13564e93768b48d5bf43cab81698
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Permission%20Sets/src/PermissionSetRelationBuffer.Table.al
    title: src/System Application/App/Permission Sets/src/PermissionSetRelationBuffer.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 9861
name: Permission Set Relation Buffer
namespace: System.Security.AccessControl
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 14
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 9861 "Permission Set Relation Buffer"

> Table 9861 "Permission Set Relation Buffer" in System Application (System.Security.AccessControl). 14 fields. Present since at least BC23, still in BC30.

System Application · System.Security.AccessControl · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Permission%20Sets/src/PermissionSetRelationBuffer.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Permission Set Relation Buffer |
| Access | Internal |
| TableType | Temporary |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | App ID | Guid | — | TableRelation if ("Related Scope" = const(System)) "Tenant Permission Set"."App ID" else "Tenant Permission Set"."App ID" |
| 2 | Role ID | Code[30] | — | TableRelation if ("Related Scope" = const(System)) "Metadata Permission Set"."Role ID" else "Tenant Permission Set"."Role ID" |
| 3 | Related App ID | Guid | — | TableRelation if ("Related Scope" = const(System)) "Metadata Permission Set"."App ID" where("Role ID" = field("Related Role ID")) else "Tenant Permission Set"."App ID" where("Role ID" = field("Related Role ID")) |
| 4 | Related Role ID | Code[30] | Specifies the permission set <small>via [Page 9864 "Permission Set Subform"](../page/9864.md)</small> | TableRelation if ("Related Scope" = const(System)) "Metadata Permission Set"."Role ID" else "Tenant Permission Set"."Role ID" |
| 5 | Related Role ID As Text | Text[100] | Specifies the permission set. <small>via [Page 9857 "Permission Set Tree"](../page/9857.md)</small> |  |
| 6 | Related Scope | Option | Specifies the scope of the permission set. <small>via [Page 9857 "Permission Set Tree"](../page/9857.md)</small> | OptionCaption: System,Tenant |
| 7 | Type | Option | Specifies whether to include or exclude the permission set <small>via [Page 9864 "Permission Set Subform"](../page/9864.md)</small> | OptionCaption: Include,Exclude |
| 8 | Indent | Integer | Indentation <small>caption</small> |  |
| 9 | Position | Integer | — |  |
| 10 | Status | Option | Position <small>caption</small> | OptionCaption: Full,Partial,Excluded |
| 11 | Editable | Boolean | Position <small>caption</small> |  |
| 12 | Inclusion Status | Text[50] | Specifies the inclusion status. <small>via [Page 9857 "Permission Set Tree"](../page/9857.md)</small> |  |
| 13 | Name | Text[30] | — |  |
| 14 | Related Name | Text[30] | Specifies the name of the permission set. <small>via [Page 9857 "Permission Set Tree"](../page/9857.md)</small> |  |

## Keys

- Key1: App ID, Role ID, Related App ID, Related Role ID, Position (clustered)
- Key2: Type, Related Role ID

## Pages and codeunits on this table

- [Page 9857 "Permission Set Tree"](../page/9857.md) (source table)
- [Page 9864 "Permission Set Subform"](../page/9864.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Permission Set Relation Buffer")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
