Table 9862 PermissionSet Buffer

System Application, System.Security.AccessControl

src/System Application/App/Permission Sets/src/PermissionSetBuffer.Table.al73 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace System.Security.AccessControl;using System.Apps;/// <summary>/// Buffer table for a permission set./// </summary>table 9862 "PermissionSet Buffer"{    Access = Internal;    Caption = 'Permission Set Buffer';    TableType = Temporary;    InherentEntitlements = X;    InherentPermissions = X;    fields    {        field(1; Scope; Option)        {            Caption = 'Scope';            DataClassification = SystemMetadata;            OptionCaption = 'System,Tenant';            OptionMembers = System,Tenant;        }        field(2; "App ID"; Guid)        {            Caption = 'App ID';            DataClassification = SystemMetadata;        }        field(3; "Role ID"; Code[30])        {            Caption = 'Role ID';            DataClassification = SystemMetadata;        }        field(4; Name; Text[30])        {            Caption = 'Name';            DataClassification = SystemMetadata;        }        field(5; "App Name"; Text[250])        {            Caption = 'App Name';            CalcFormula = lookup("Published Application".Name where(ID = field("App ID"), "Tenant Visible" = const(true)));            FieldClass = FlowField;        }        field(6; Type; Option)        {            Caption = 'Type';            DataClassification = SystemMetadata;            OptionCaption = 'User-Defined,Extension,System';            OptionMembers = "User-Defined",Extension,System;        }    }    keys    {        key(Key1; Scope, "App ID", "Role ID")        {            Clustered = true;        }        key(Key2; Scope, "Role ID")        {        }    }}