Gettrustee – Kofax DM API User Manual

Page 245

Advertising
background image

DM API M

ETHODS

AND

P

ROPERTIES

225

GetTrustee

GetTrustee

Use this method to get the trustee rights value for the trustee you
specify.

Syntax

PCDDocObject.GetTrustee( strTrusteeName, _

intTrusteeFlag )

Parameters

Returns

Returns an integer that identifies the rights for the specified trustee.
Languages such as JavaScript, Visual Basic, and VBScript return this as
a function value.

Related Items

See the following objects:

PCDDocObject
PCDTrusteeList

See the following methods:

FetchTrustees
GetTrustees
SetTrustee
SetTrustees
UpdateTrustees

strTrusteeName

String (

BSTR) that identifies the name of the

trustee.

intTrusteeFlag

A long integer that identifies the flag setting
for the trustee. Supported values are as
follows:

PCD_TRUSTEE_UNKNOWN_TYPE = 0

PCD_TRUSTEE_GROUP_TYPE = 1

PCD_TRUSTEE_PERSON_TYPE = 2

Advertising