beautypg.com

Qs_view, Related items – Kofax DM API User Manual

Page 471

background image

DM API T

OKENS

451

%QS_VIEW


'Check for errors.

checkError(pDocObject, "ERROR_DOCPROFILEDSP_RIGHTS")


'Get the doc's effective rights for this user.

Set intAccessRights = _

pDocObject.GetReturnProperty("%EFFECTIVE_RIGHTS")


'Make sure user has rights to view and execute the search form.

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

'The user is a trustee for this Quick Search. The user

'cannot execute this Quick Search.

End If

Related Items

See the

PCDDocObject

object.

See the following methods:

GrantRight

HasRight

RevokeRight

See the following tokens:

%QS_DELETE

%QS_EDIT