Kofax DM API Bedienungsanleitung Seite 190

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 528
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 189
170 CHAPTER 4
FetchTrustees
FetchTrustees
Use this method to fetch trustees from the DM Server.
Syntax
PCDDocObject.FetchTrustees()
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.
Example
The following example illustrates how you can use the FetchTrustees
method when managing trustee rights on your document objects.
.
.
.
Private Sub cmdAddTrustees_Click()
'This subroutine demonstrates adding trustees
'to a document. You can add trustees in two
'ways: You can use the SetTrustee method that
'DocObject supports, or you can use the
'AddTrustee method that the PCDTrusteeList
'supports. This example demonstrates the first
'method.
'Use the following flags when adding trustees:
'0 = Unknown (Let the server figure it out.)
'1 = Group
'2 = User
'Create the PCDDocObject. Note that late
'binding is used to create the PCDDocObject
'because the HasRight method will bomb if
'early binding is used.
lstResultSet.Clear
Dim objDOC As Object
Seitenansicht 189
1 2 ... 185 186 187 188 189 190 191 192 193 194 195 ... 527 528

Kommentare zu diesen Handbüchern

Keine Kommentare