Skip to content

Codeunit WSB_CDPPermissionSetUsage

Exposes procedures to get insights into the usage/assignments of permission sets.

Properties

Name Value
Access Public

Methods

wgFncGetAllPermissionSetUsages

Retrieves all permission set usages and stores them in a temporary record set.

Parameters

Type Name Description
Record "WSB_CDPPermSetUsage" temporary vRecTempWSB_CDPPermSetUsage A temporary record set in which all permission set usages are stored.

wgFncGetPermissionSetUsageCount

Gets the total usage count of the permission set.

Parameters

Type Name Description
Record "Permission Set Buffer" temporary pRecTempPermissionSetBuffer Permission set

Returns

Type Description
Integer The number of times the permission set is referenced in permission set assignments.

wgFncGetPermissionSetUsages

Retrieve the usages of a permission set and stores them in a temporary record set.

Parameters

Type Name Description
Record "Permission Set Buffer" temporary pRecTempPermissionSetBuffer The permission set.
Record "WSB_CDPPermSetUsage" temporary vRecTempWSB_CDPPermSetUsage A temporary record set in which all permission set usages are stored.

wgFncSetAccessControlPermissionSetUsageFilters

Filters the "Access Control" table record to usages of a permission set.

Parameters

Type Name Description
Record "Permission Set Buffer" temporary pRecTempPermissionSetBuffer Permission set
Record "Access Control" vRecAccessControl The "Access Control" table record to filter.

wgFncViewInternalPermissionSetUsages

Opens a page to view the usages of the SUPER, SUPER (DATA) and SECURITY permission sets.

wgFncViewPermissionSetUsages

Opens a page to view the usages of a permission set.

Parameters

Type Name Description
Record "Permission Set Buffer" temporary pRecTempPermissionSetBuffer The permission set.

wgFncViewSUPERPermissionSetUsages

Opens a page to view the usages of the SUPER permission set.