Settrusteerights, Settrusteerights 292 – Kofax DM API User Manual

Page 312

Advertising
background image

292 C

HAPTER

4

SetTrusteeRights

SetTrusteeRights

Use this method to update the Trustee rights for a trustee at a given
offset in the trustee list.

Syntax

PCDTrusteeList.SetTrusteeRights( lngNdx, _


intTrusteeRights )

Parameters

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

The trustee rights flags parameter uses the same access rights settings as
other security methods. These security settings are maintained in the

ACCESSRIGHTS

column of the

SECURITY

table in the SQL database.

Related Items

See the

PCDTrusteeList

object.

See the

GetTrusteeRights

method.

See the following properties:

ErrDescription
ErrNumber

lngNdx

An unsigned long integer that contains the
offset in the trustee list where trustee rights
are to be set.

intTrusteeRights

An integer that contains the trustee rights
flags.

Advertising