dms.CheckPermissions
With this job, access permissions for a list of DMS objects can be checked. Since performance is very important for this job, no archive objects and inactive variants are considered.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Currently not supported → pass 0 |
|
STRING |
Yes |
Access type to be checked (e.g. 'RWXDU' checks all access types) |
|
INT |
Yes |
Type of the objects. <n> is a sequential number starting with 1. |
|
String |
Yes |
Comma-separated list of object IDs of type ObjectType<n> |
|
INT |
No |
Type of the parent register |
|
INT |
No |
ID of the parent register |
|
INT |
No |
ID of the folder |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
INT |
— |
nth object type |
|
String |
— |
Comma-separated list of IDs and determined rights for object type n. The object ID is separated from the determined rights by a colon. See example below. |
3. Return Value
(INT): 0 = Job successful, otherwise error code
Complete error list
| The order of object types as well as objects in an ID list does not have to match the order in the input parameters. |
Flags=0
Access=WRXDU
FolderID=380
FolderType=1
RegisterID=0
RegisterType=0
ObjectType1=393216
ObjectList1=65493
ObjectType2=131072
ObjectList2=72272,72273,72274
ObjectType1=131072
ObjectList1=72272:RWXUD,72273:RW---,72274:R-X-
ObjectType2=393216
ObjectList2=65493:RWXUD