Right8, Related items – Kofax DM API User Manual

Page 482

Advertising
background image

462 C

HAPTER

5

%RIGHT8


'Check for errors.

checkError(pDocObject, "ERROR_DOCPROFILEDSP_RIGHTS")


'Get the user's effective rights for this document object.

Set intAccessRights = _

pDocObject.GetReturnProperty("%EFFECTIVE_RIGHTS")


'Make sure user has rights to assign a document or record

'to a File.

If Not (pDocObject.HasRight("%RIGHT8", intAccessRights)) Then

'The user does not have sufficient access rights to

'assign a document or record to a file.

End If

Related Items

See the

PCDDocObject

object.

See the following methods:

GrantRight

HasRight

RevokeRight

See the following tokens:

%EFFECTIVE_RIGHTS

%PR_ACCESS_CONTROL

%PR_CONTENT_COPY

%PR_CONTENT_DELETE

%PR_CONTENT_EDIT

%PR_CONTENT_RETRIEVE

%PR_CONTENT_VIEW

%PR_EDIT

%RIGHT9

Advertising