Skip to content

Codeunit WSB_CDPPermissionSetProtection

Implements permission set protection, preventing users from editing specific permission sets.

Properties

Name Value
Access Public

Methods

wgFncIsPermissionSetProtected

Returns whether the permission set with specified scope, app ID and role ID is a protected permission set.

Parameters

Type Name Description
Option pScope The scope of the permission set.
Guid pAppID The app ID of the permission set.
Code[20] pRoleID The role ID of the permission set.

Returns

Type Description
Boolean true if the permission set is a protected permission set.

wlEvpOnAfterIsPermissionSetProtected

Allows to implement additional conditions under which permission sets should be protected.

Parameters

Type Name Description
Option pScope The scope for the permission set
Guid pAppID The app ID of the permission set.
Code[20] pRoleID The role ID of the permission set.
Boolean vResult Set this parameter to true in your extension if the permission with specified parameters should be protected.