Table 9016 Permission Set In Plan Buffer in 27

App
System Application
Namespace
System.Azure.Identity

Fields, 7Keys, 1

Versions171819202122232425262728latest

Source242526272829

Source in 27

src/System Application/App/Azure AD Plan/src/Plan Configuration/PermissionSetInPlanBuffer.Table.al79 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.Azure.Identity;
using System.Apps;
using System.Environment;
using System.Security.AccessControl;

/// <summary>
/// The container used for fetching permission sets associated with plans.
/// </summary>
/// <remarks>
/// Default plan permission sets will never have the "Company Name" filled in,
/// the actual company name assigned to users will be the first sign-in company.
/// </remarks>
table 9016 "Permission Set In Plan Buffer"
{
    Caption = 'Permission Set in License';
    TableType = Temporary;
    Access = Public;
    InherentEntitlements = X;
    InherentPermissions = X;

    fields
    {
        field(2; "Plan ID"; Guid)
        {
            DataClassification = SystemMetadata;
            Caption = 'Plan ID';
            TableRelation = Plan."Plan ID";
        }
        field(3; "Role ID"; Code[20])
        {
            DataClassification = SystemMetadata; // since defaults are not user-defined
            Caption = 'Permission Set';
            TableRelation = "Aggregate Permission Set"."Role ID";
        }
        field(4; "Role Name"; Text[30])
        {
            CalcFormula = lookup("Aggregate Permission Set".Name where("Role ID" = field("Role ID")));
            Caption = 'Name';
            FieldClass = FlowField;
        }
        field(5; "App ID"; Guid)
        {
            DataClassification = SystemMetadata;
            Caption = 'App ID';
        }
        field(6; "App Name"; Text[250])
        {
            CalcFormula = lookup("Published Application".Name where(ID = field("App ID"), "Tenant Visible" = const(true)));
            Caption = 'Extension Name';
            FieldClass = FlowField;
        }
        field(7; Scope; Option)
        {
            DataClassification = SystemMetadata;
            Caption = 'Scope';
            OptionCaption = 'System,Tenant';
            OptionMembers = System,Tenant;
        }
        field(8; "Company Name"; Text[30])
        {
            DataClassification = SystemMetadata;
            Caption = 'Company Name';
            TableRelation = Company;
        }
    }

    keys
    {
        key(UniqueKey; "Plan ID", "Role ID", Scope, "App ID")
        {
            Clustered = true;
        }
    }
}

Fields, 7

IdNameTypeObsolete
2Plan IDGuid-
3Role IDCode[20]-
4Role NameText[30]-
5App IDGuid-
6App NameText[250]-
7ScopeOption-
8Company NameText[30]-

Keys, 1

NameFieldsObsolete
UniqueKey, clusteredPlan ID, Role ID, Scope, App ID-