Codeunit 9863 Permission Set Copy Impl.

System Application, System.Security.AccessControl

Source AL, 306 lines

src/System Application/App/Permission Sets/src/PermissionSetCopyImpl.Codeunit.allines 11 to 26 of 306, Copyright (c) Microsoft Corporation. MIT

codeunit 9863 "Permission Set Copy Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        FeatureTelemetry: Codeunit "Feature Telemetry";        PermissionSetExistsErr: Label 'Permission set already exists.';        ComposablePermissionSetsTok: Label 'Composable Permission Sets', Locked = true;        PermissionsUpdatedLbl: Label 'The tenant permissions for the App Id %1, Role %2, ObjectType %3, ObjectId %4  have been updated with the following values - Read "%5", Insert "%6", Modify "%7", Delete "%8" and Execute "%9"  by the UserSecurityId %10.', Locked = true;        PermissionsInsertedLbl: Label 'The tenant permissions for the App Id %1, Role %2, ObjectType %3, ObjectId %4  have been inserted with the following values - Read "%5", Insert "%6", Modify "%7", Delete "%8" and Execute "%9"  by the UserSecurityId %10.', Locked = true;        ReadAccessAddedToRelatedTablesLbl: Label 'The Read Permission for the App Id %1, Role %2, ObjectType %3, ObjectId %4  have been granted by the UserSecurityId %5.', Locked = true;    procedure CopyPermissionSet(NewRoleId: Code[30]; NewName: Text; SourceRoleId: Code[30]; SourceAppId: Guid; SourceScope: Option System,Tenant; CopyType: Enum "Permission Set Copy Type")    begin

All 306 lines

Public procedures 1 in 29

CopyPermissionSet(NewRoleId: Code[30]; NewName: Text; SourceRoleId: Code[30]; SourceAppId: Guid; SourceScope: Option System,Tenant; CopyType: Enum "Permission Set Copy Type")new in 21

All 3 procedures in 21-29