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

Flags

INT

Yes

Currently not supported → pass 0

Access

STRING

Yes

Access type to be checked (e.g. 'RWXDU' checks all access types)
R = read index data
W = write index data
X = open/execute object
D = delete object
U = write object

ObjectType<n>

INT

Yes

Type of the objects. <n> is a sequential number starting with 1.

ObjectList<n>

String

Yes

Comma-separated list of object IDs of type ObjectType<n>

[RegisterType]

INT

No

Type of the parent register
0 = not in any register (directly on folder level)
-1 = register-independent

[RegisterID]

INT

No

ID of the parent register

[FolderID]

INT

No

ID of the folder

2. Output Parameters

Name Type Dependency Description

ObjectType<n>

INT

nth object type

ObjectList<n>

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.
Example call:
Flags=0
Access=WRXDU
FolderID=380
FolderType=1
RegisterID=0
RegisterType=0
ObjectType1=393216
ObjectList1=65493
ObjectType2=131072
ObjectList2=72272,72273,72274
Example return:
ObjectType1=131072
ObjectList1=72272:RWXUD,72273:RW---,72274:R-X-
ObjectType2=393216
ObjectList2=65493:RWXUD