Trustees_remove – Kofax DM API User Manual

Page 505

Advertising
background image

DM API T

OKENS

485

%TRUSTEES_REMOVE

%TRUSTEES_REMOVE

Use this token to delete one or more trustees from the current list of
trustees for the specified object.

Syntax

PCDDocObject.SetProperty(“%TRUSTEES_UPDATE”, _

“%TRUSTEES_REMOVE”)

Parameters

Example

'Create a document object.

Set pDocObject = CreateObject("PCDClient.PCDDocObject.1")


'Set the DM security token.

pDocObject.SetDST(strDST)


'Set the object type. Data on the MassProfile Update form shows

'the updated trustee settings.

pDocObject.SetObjectType("MassProfileUpdate")


'Set the update to remove the specified trustees.

pDocObject.SetProperty("%TRUSTEES_UPDATE", "%TRUSTEES_REMOVE")


'Perform the update.

pDocObject.Update

Related Items

See the

PCDDocObject

object.

See the

SetProperty

method.

See the following tokens:

%TRUSTEES_UPDATE

The token identifier that indicates trustee
information is about to be updated.

%TRUSTEES_REMOVE

The token identifier that indicates one or
more of the trustees is to be removed
from the trustee list.

Advertising