Fetchtrustees – Kofax DM API User Manual
Page 191
DM API M
ETHODS
AND
P
ROPERTIES
171
FetchTrustees
Set objDOC = CreateObject( _
"PCDClient.
'Create the property list object.
Dim objPropList As New
'Set the library.
objDOC.
"%TARGET_LIBRARY", strLib
'Set the DST.
objDOC.
strDST
'Set the Form.
objDOC.
"DEF_PROF"
'Identify the document object whose trustee
'properties are to be updated.
objDOC.
"%OBJECT_IDENTIFIER", _
txtDocNum.Text
'Create variables to store security data.
Dim LDefaultRights As Long
Dim LEffectiveRights As Long
Dim LAccessControl As Long
'Get the document.
objDOC.
'Check for any errors.
If objDOC.
<> 0 Then
lstResultSet.AddItem "Unable to fetch doc: " _
& txtDocNum.Text
GoTo bye
End If
'Retrieve properties from the fetched document.
Set objPropList = objDOC.
'Store the results.