User_id – Kofax DM API User Manual

Page 514

Advertising
background image

494 C

HAPTER

5

%USER_ID

%USER_ID

This token is used to set the user ID property for various actions.

Syntax

PCDDocObject.SetProperty(“%USER_ID”, _

“vntUserName”)

Parameters

Example

'Create a doc object.

Set pObj = CreateObject("PCDClient.PCDDocObject")


'Set the DM security token.

pObj.SetDST(strDST)


'Set the object (form) type.

pObj.SetObjectType(“ImptDocRetrievalForm”)


'Set the userID property.

pObj.SetProperty("%USER_ID", vntGuest)


'Fetch documents authored by the user specified on the form.

pObj.Fetch

Related Items

See the PCDDocObject object.

See the SetProperty method.

%USER_ID

The token identifier that indicates the
user name is being identified.

vntUserName

The name of the user.

Advertising