Codeunit WSB_CDPPermissionSetLookup
Provides procedures to conveniently look up permission sets.
Properties
Methods
wgFncLookupPermissionSets
Opens the "Lookup Permission Set" page to select permission sets. If the user clicks on "OK" to close the page, the selected permission set(s) will be returned.
Parameters
Type |
Name |
Description |
Boolean |
pAllowMultiselect |
Whether to allow multi-select. |
Record "Aggregate Permission Set" |
pRecSelectedAggregatePermissionSet |
The permission set the user had selected before opening the page. |
Record "Aggregate Permission Set" temporary |
vRecTempAggregatePermissionSet |
The selected permission set(s). |
Returns
Type |
Description |
Boolean |
true iff the user selected permission set(s) and pressed "OK". |
wgFncLookupPermissionSets
Opens the "Lookup Permission Set" page to select permission sets. If the user clicks on "OK" to close the page, the selected permission set(s) will be returned.
Parameters
Type |
Name |
Description |
Boolean |
pAllowMultiselect |
Whether to allow multi-select. |
Record "Aggregate Permission Set" temporary |
vRecTempAggregatePermissionSet |
The selected permission set(s). |
Returns
Type |
Description |
Boolean |
true iff the user selected permission set(s) and pressed "OK". |
wgFncMultiselectAccessControlPermissionSetLookup
Opens the permission set lookup page, allowing for multi-select. When the user clicks "OK", the selected permission sets are assigned to the user.
Parameters
Type |
Name |
Description |
Record "Access Control" |
pRecAccessControl |
The selected access control ('user permission set assignment') record which specifies the "User Security ID". |
Returns
Type |
Description |
Boolean |
true iff user permission sets were assigned. |