dms.CheckPermission
With this job, access permissions for individual DMS objects can be checked independently of the used security system. To check whether an object can be inserted at a specific location, the location must be set via the parameter 'FolderID' or the parameter 'RegisterID', the parameter 'ObjectID' set to 0, and the access type 'W' checked.
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 object |
|
INT |
Yes |
ID of the object |
|
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 |
|---|---|---|---|
|
STRING |
— |
Granted access types (format corresponds to input parameter 'Access') |
3. Return Value
(INT): 0 = Job successful, otherwise error code
Complete error list