beautypg.com

Security – Kofax DM API User Manual

Page 491

background image

DM API T

OKENS

471

%SECURITY

%SECURITY

This token is used to retrieve the user’s access rights for the specified
document(s). Each user may be granted different privileges (for
example, allowed to view, not allowed to copy, etc.)

Syntax

PCDSearch.AddReturnProperty(“%SECURITY”)

Parameters

Example

'Create a search object.

Set pDoc = CreateObject("PCDClient.PCDSearch.1")


'Set the DM Security Token.

pDoc.SetDST( DST )


'Indicate that the search should return security properties.

pDoc.AddReturnProperty("%SECURITY")


'Execute the search.

pDoc.Execute

Related Items

See the PCDSearch object.

See the AddReturnProperty method.

%SECURITY

The token identifier that the current
user’s security mask (access priviliges)
are to be returned for the specified
document(s).