Settrustees – Kofax DM API User Manual

Page 310

Advertising
background image

290 C

HAPTER

4

SetTrustees

SetTrustees

Use this method to copy all the trustee entries from a

PCDTrusteeList

object into the internal trustee list for the

PCDDocObject

.

Syntax

PCDDocObject.SetTrustees( objTrusteeList )

Parameter

Returns

Returns an

HRESULT

to receive the result of the call.

S_OK

indicates

success. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value.

Example

The section that discusses

Getting and Updating Trustee Information

in chapter 1 provides an example of how you can use the SetTrustees
method.

Related Items

See the following objects:

PCDDocObject
PCDTrusteeList

See the following methods:

GetTrustee
GetTrustees
SetTrustee

See the following properties:

objTrusteeList

A pointer to a

PCDTrusteeList

object from which

the

PCDDocObject

can copy the trustee list.

Advertising