Qs_delete, Related items – Kofax DM API User Manual

Page 467

Advertising
background image

DM API T

OKENS

447

%QS_DELETE


'Check for errors.

checkError(pDocObject, "ERROR_DOCPROFILEDSP_RIGHTS")


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

Set intAccessRights = _

pDocObject.GetReturnProperty("%EFFECTIVE_RIGHTS")


'Make sure user has rights to edit the profile.

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

'The user does not have sufficient access rights to

'delete the specified Quick Search.

End If

Related Items

See the

PCDDocObject

object.

See the following methods:

GrantRight

HasRight

RevokeRight

See the following tokens:

%QS_EDIT

%QS_VIEW

Advertising