beautypg.com

Getting and updating trustee information, Getting and updating trustee information 23, Document objects – Kofax DM API User Manual

Page 43: Dm a

background image

T

HE

DM A

RCHITECTURE

23

Document Objects

End If

FetchFlag = True

MsgBox "Exported document content to " _

& "designated file: " & FileName

End Sub

.

.

.

Getting and

Updating Trustee

Information

The following example updates the trustees for a profiled document
object.

.

.

.

Attribute VB_Name = "frmTrustees"

Attribute VB_GlobalNameSpace = False

Attribute VB_Creatable = False

Attribute VB_PredeclaredId = True

Attribute VB_Exposed = False

Option Explicit


Dim bRet As Boolean

Dim Status As String

Dim DocName As String

Dim DefaultRights As Long

Dim EffectiveRights As Long

Dim AccessControl As Boolean

Dim i As Integer

Dim UserOrGroup As String

Dim PDoc As Object

Dim TrusteeList As PCDTrusteeList


Private Function _

GetTrusteesforProfile(docnumber As String) _

As Boolean

Dim docsfound As Long

On Error GoTo ErrorHandler

GetTrusteesforProfile = False

If Val(docnumber) <= 0 Then Exit Function

Dim pclient As PCDSearch