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

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

INT

Yes

Type of the object

ObjectID

INT

Yes

ID of the object

[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

Access

STRING

Granted access types (format corresponds to input parameter 'Access')

3. Return Value

(INT): 0 = Job successful, otherwise error code
Complete error list