Codeunit WSB_DCAPermissionMgt
Exposes procedures for handling permissions to Document Archive files.
Properties
Methods
wgFncCheckPermissions
Checks whether the current user has permissions for a file.
Parameters
Type |
Name |
Description |
Record "WSB_DCAFile" |
pRecWSB_DCAFile |
The Document Archive file. |
Enum "WSB_PermissionType" |
pCheckPermissionType |
The permission type to check for. |
wgFncCheckPermissions
Checks whether the current user has permissions for a category.
Parameters
Type |
Name |
Description |
Record "WSB_DCACategory" |
pRecWSB_DCACategory |
The Document Archive category. |
Enum "WSB_PermissionType" |
pCheckPermissionType |
The permission type to check for. |
wgFncGetCategoryReadFilter
Gets a filter of category-codes that the current user has read permissions for.
Returns
Type |
Description |
Text |
The resulting filter. |
wgFncGetCategoryReadFilter
Gets a filter of category-codes that the current user has read permissions for.
Parameters
Type |
Name |
Description |
RecordId |
pRecordId |
The Record ID of the record type to limit the categories to. |
Returns
Type |
Description |
Text |
The resulting filter. |
wgFncGetCategoryReadFilter
Gets a filter of category-codes that the current user has read permissions for, restricted to a specific entity definition.
Parameters
Type |
Name |
Description |
Record "WSB_DCAEntityDefinition" |
pRecWSB_DCAEntityDefinition |
The entity definition to restrict the filter to. |
Returns
Type |
Description |
Text |
The resulting filter. |
wgFncGetCategoryReadFilter
Gets a filter of category-codes from the permission records with read permission.
Parameters
Type |
Name |
Description |
Record "WSB_PermissionGroup" |
vRecWSB_PermissionGroup |
The Document Archive permission records to create the filter from. |
Returns
Type |
Description |
Text |
System.Xml.XmlElement |