Skip to content

Codeunit WSB_PermissionSetLookup

Provides procedures to conveniently look up permission sets.

Properties

Name Value
Access Public

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 if 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 if the user selected permission set(s) and pressed "OK".