Nexttrustee – Kofax DM API User Manual

Page 271

Advertising
background image

DM API M

ETHODS

AND

P

ROPERTIES

251

NextTrustee

NextTrustee

Use this method to iterate through the trustees in the trustee list.

Syntax

PCDTrusteeList.NextTrustee()

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.

Usage

Checking the

ErrNumber

property allows you to determine whether or

not the pointer was able to iterate to the next trustee. ErrNumber
returns

S_OK

if it successfully positioned on a list entry. It returns

PCD_S_END_OF_LIST

if it is at the end of the list.

Related Items

See the

PCDTrusteeList

object.

See the following methods:

BeginIter
GetCurrentTrusteeFlags
GetCurrentTrusteeName
GetCurrentTrusteeRights
GetTrusteeIndex

See the following properties:

ErrDescription
ErrNumber

Advertising