Codeunit 9822 Plan Configuration Impl.

System Application, System.Azure.Identity

Source AL, 566 lines

src/System Application/App/Azure AD Plan/src/Plan Configuration/PlanConfigurationImpl.Codeunit.allines 13 to 28 of 566, Copyright (c) Microsoft Corporation. MIT

codeunit 9822 "Plan Configuration Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "Plan Configuration" = rimd,                  tabledata "Custom Permission Set In Plan" = rimd,                  tabledata "Default Permission Set In Plan" = rimd;    var        ConfirmRemoveCustomizationsQst: Label 'Restoring the default permissions will delete the customization for the selected license. Do you want to continue?';        ConfigurationAlreadyExistsErr: Label 'Configuration for license %1 already exists. To edit it, select it from the list.', Comment = '%1 = License name, e.g. Dynamics 365 Business Central Essentials';        MissingSecurityErr: Label 'You do not have permissions to configure licenses. Contact your system administrator.';        MissingPermissionSetErr: Label 'You don''t have rights to manage the %1 permission set for licenses. The SECURITY permission set only grants you rights to manage those permission sets that are also assigned to your account.', Comment = '%1 = permssion set name, e.g. ''D365 READ''';        CustomizePermissionsNotificationTxt: Label 'Customizing permissions below will affect only newly created users who are assigned %1 license. Permissions for existing users who are assigned the license will not be affected.', Comment = '%1 = license name, e.g. e.g. Dynamics 365 Business Central Essentials';

All 566 lines

Public procedures 17 in 29

IsCustomized(PlanId: Guid): Booleannew in 20
AddCustomPermissionSetToPlan(PlanId: Guid; RoleId: Code[20]; AppId: Guid; Scope: Option; Company: Text[30])new in 20
RemoveCustomPermissionSetFromPlan(PlanId: Guid; RoleId: Code[20]; AppId: Guid; Scope: Option; Company: Text)new in 20
AssignCustomPermissionsToUser(PlanId: Guid; UserSecurityId: Guid)new in 20
VerifyUserHasRequiredPermissionSet(RoleId: Code[20]; AppId: Guid; Scope: Option; Company: Text)new in 20
ConfigurationContainsSuper(PlanId: Guid): Booleannew in 20

All 23 procedures in 20-29

Changes 1 in 26

List17181920212223242526272829
Procedures111
Events1
RestoreDefaultConfiguration(PlanConfiguration: Record "Plan Configuration")new in 26
added

All 13 changes in 20-29