Table 9861 Permission Set Relation Buffer in 28

App
System Application
Namespace
System.Security.AccessControl

Fields, 14Keys, 2

Versions171819202122232425262728latest

Source242526272829

Source in 28

src/System Application/App/Permission Sets/src/PermissionSetRelationBuffer.Table.al111 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;

/// <summary>
/// Buffer table for permission set relations.
/// </summary>
table 9861 "Permission Set Relation Buffer"
{
    Access = Internal;
    Caption = 'Permission Set Relation Buffer';
    TableType = Temporary;
    InherentEntitlements = X;
    InherentPermissions = X;

    fields
    {
        field(1; "App ID"; Guid)
        {
            Caption = 'App ID';
            TableRelation = if ("Related Scope" = const(System)) "Tenant Permission Set"."App ID" else
            "Tenant Permission Set"."App ID";
        }
        field(2; "Role ID"; Code[30])
        {
            Caption = 'Role ID';
            TableRelation = if ("Related Scope" = const(System)) "Metadata Permission Set"."Role ID" else
            "Tenant Permission Set"."Role ID";
        }
        field(3; "Related App ID"; Guid)
        {
            Caption = 'Related App ID';
            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"));
        }
        field(4; "Related Role ID"; Code[30])
        {
            Caption = 'Related Role ID';
            TableRelation = if ("Related Scope" = const(System)) "Metadata Permission Set"."Role ID" else
            "Tenant Permission Set"."Role ID";
        }
        field(5; "Related Role ID As Text"; Text[100])
        {
            Caption = 'Role ID';
        }
        field(6; "Related Scope"; Option)
        {
            Caption = 'Related Scope';
            OptionMembers = System,Tenant;
            OptionCaption = 'System,Tenant';
        }
        field(7; Type; Option)
        {
            Caption = 'Type';
            OptionMembers = Include,Exclude;
            OptionCaption = 'Include,Exclude';
            InitValue = Include;
        }
        field(8; Indent; Integer)
        {
            Caption = 'Indentation';
        }
        field(9; Position; Integer)
        {
            Caption = 'Position';
        }
        field(10; Status; Option)
        {
            OptionMembers = Included,PartiallyIncluded,Excluded;
            OptionCaption = 'Full,Partial,Excluded';
            Caption = 'Position';
        }
        field(11; Editable; Boolean)
        {
            Caption = 'Position';
            InitValue = true;
        }
        field(12; "Inclusion Status"; Text[50])
        {
            Caption = 'Included';
        }
        field(13; Name; Text[30])
        {
            Caption = 'Name';
        }
        field(14; "Related Name"; Text[30])
        {
            Caption = 'Related Name';
        }
    }

    keys
    {
        key(Key1; "App ID", "Role ID", "Related App ID", "Related Role ID", Position)
        {
            Clustered = true;
        }

        key(Key2; Type, "Related Role ID")
        {
        }
    }

}

Fields, 14

IdNameTypeObsolete
1App IDGuid-
2Role IDCode[30]-
3Related App IDGuid-
4Related Role IDCode[30]-
5Related Role ID As TextText[100]-
6Related ScopeOption-
7TypeOption-
8IndentInteger-
9PositionInteger-
10StatusOption-
11EditableBoolean-
12Inclusion StatusText[50]-
13NameText[30]-
14Related NameText[30]-

Keys, 2

NameFieldsObsolete
Key1, clusteredApp ID, Role ID, Related App ID, Related Role ID, Position-
Key2Type, Related Role ID-