Source AL, 105 lines
src/System Application/App/Permission Sets/src/PermissionSetRelation.Codeunit.allines 11 to 26 of 105, Copyright (c) Microsoft Corporation. MIT
codeunit 9855 "Permission Set Relation"{ Access = Public; /// <summary> /// Adds a new permission set relation. /// </summary> /// <param name="AppId">The app ID of the permission set.</param> /// <param name="RoleId">The role ID of the permission set.</param> /// <param name="Scope">The scope of the permission set.</param> /// <param name="RelatedAppId">The app ID of the related permission set.</param> /// <param name="RelatedRoleId">The role ID of the related permission set.</param> /// <param name="RelatedScope">The scope of the related permission set.</param> /// <param name="PermissionType">The type of the new permission set relation.</param> /// <returns>true if creating the permission set relation was successful</returns> procedure AddNewPermissionSetRelation(AppId: Guid; RoleId: Code[30]; Scope: Option System,Tenant; RelatedAppId: Guid; RelatedRoleId: Code[30]; RelatedScope: Option System,Tenant; PermissionType: Option Include,Exclude) Success: Boolean
All 105 lines
Events 1 in 29
Public procedures 5 in 29
| AddNewPermissionSetRelation(AppId: Guid; RoleId: Code[30]; Scope: Option System,Tenant; RelatedAppId: Guid; RelatedRoleId: Code[30]; RelatedScope: Option System,Tenant; PermissionType: Option Include,Exclude): Boolean | new in 21 |
| OpenPermissionSetPage(Name: Text; RoleId: Code[30]; AppId: Guid; Scope: Option System,Tenant) | new in 21 |
| VerifyUserCanEditPermissionSet(AppId: Text) | new in 21 |
| CopyPermissionSet(NewRoleId: Code[30]; NewName: Text; SourceRoleId: Code[30]; SourceAppId: Guid; SourceScope: Option System,Tenant; CopyType: Enum "Permission Set Copy Type") | new in 21 |
| LookupPermissionSet(AllowMultiselect: Boolean; var AggregatePermissionSet: Record "Aggregate Permission Set"): Boolean | new in 22 |
Changes 1 in 22
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | 1 | | | | | | | |
|---|
| LookupPermissionSet(AllowMultiselect: Boolean; var AggregatePermissionSet: Record "Aggregate Permission Set"): Boolean | new in 22 |
| added |
All 1 changes in 21-29