---
id: object/codeunit/9864
type: object
title: Codeunit 9864 "Permission Impl."
summary: Codeunit 9864 "Permission Impl." in System Application (System.Security.AccessControl). 15 public procedures. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - 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: a45dd0444a076246b9229338a5cf762c1f8741a657f223ef5b08dfcd0b1d8bbc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Permission%20Sets/src/PermissionImpl.Codeunit.al
    title: src/System Application/App/Permission Sets/src/PermissionImpl.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 9864
name: Permission Impl.
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: 0
  procedures: 18
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 4
  implements: 0
---

# Codeunit 9864 "Permission Impl."

> Codeunit 9864 "Permission Impl." in System Application (System.Security.AccessControl). 15 public procedures. 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/PermissionImpl.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |

## Procedures

- `SelectPermissions(CurrAppId: Guid; CurrRoleID: Code[20]): Boolean`
- `LookupPermission(ObjectType: Option; var ObjectIDText: Text): Boolean`
- `UpdatePermissionLine(IsTypeChanged: Boolean; var TenantPermission: Record "Tenant Permission"; var ObjectCaption: Text; var ObjectName: Text; var ReadPermissionAsTxt: Text[50]; var InsertPermissionAsTxt: Text[50]; var ModifyPermissionAsTxt: Text[50]; var DeletePermissionAsTxt: Text[50]; var ExecutePermissionAsTxt: Text[50])`
- `UpdateSelectedPermissionLines(var TenantPermission: Record "Tenant Permission"; RIMDX: Text[1]; PermissionOption: Option)`
- `IsPermissionEmpty(var TenantPermission: Record "Tenant Permission"): Boolean`
- `VerifyPermissionAlreadyExists(var TenantPermissionRec: Record "Tenant Permission"): Boolean`
- `EmptyIrrelevantPermissionFields(var TenantPermission: Record "Tenant Permission")`
- `SetDefaultPermissionFields(var TenantPermission: Record "Tenant Permission")`
- `GetObjectionCaptionAndName(var TenantPermission: Record "Tenant Permission"; var ObjectCaption: Text; var ObjectName: Text)`
- `GetObjectCaptionAndName(var MetadataPermission: Record "Metadata Permission"; var ObjectCaption: Text; var ObjectName: Text)`
- `GetObjectCaptionAndName(var ExpandedPermission: Record "Expanded Permission"; var ObjectCaption: Text; var ObjectName: Text)`
- `GetObjectName(var ExpandedPermission: Record "Expanded Permission"; var ObjectName: Text)`
- `GetPermission(PermissionType: Option Include,Exclude; PermissionAsTxt: Text): Option " ",Yes,Indirect`
- `GetPermissionAsTxt(IncludeExcludeOption: Option Include,Exclude; PermissionOption: Option " ",Yes,Indirect): Text[50]`
- `FillLookupBuffer(var PermissionLookupBuffer: Record "Permission Lookup Buffer" temporary)`

Plus 3 local procedures.

## Called by

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Page 9859 "Tenant Permission Subform"](../page/9859.md) (7 calls: `OnAfterGetCurrRecord → UpdatePermissionLine`, `OnAfterGetRecord → UpdatePermissionLine`, `OnInsertRecord → EmptyIrrelevantPermissionFields`, …)
- [Page 9856 "Metadata Permission Subform"](../page/9856.md) (2 calls: `OnAfterGetCurrRecord → GetObjectCaptionAndName`, `OnAfterGetRecord → GetObjectCaptionAndName`)
- [Page 9862 "Expanded Permissions"](../page/9862.md) (1 call: `OnAfterGetRecord → GetObjectCaptionAndName`)
- [Page 9865 "Permission Lookup List"](../page/9865.md) (1 call: `OnOpenPage → FillLookupBuffer`)

## 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). The call sections above are our own, per object, from the BC29 call graph. 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: "codeunit", object_name: "Permission Impl.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
