Kofax DM API Bedienungsanleitung Seite 29

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 528
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 28
THE DM ARCHITECTURE 9
The Logon Process
If (opOK) Then
libname = Libs.GetAt(i)
opOK = opOK And Libs.ErrNumber = 0
If i = 0 Then LibCombo.Text = libname
LibCombo.AddItem libname
End If
Next
'List of Network logon types.
NetworkType.AddItem "Network Bindery"
NetworkType.AddItem "Network NDS"
NetworkType.AddItem "Microsoft Network"
NetworkType.Text = ""
End Sub
Private Sub cmdCancel_Click()
OK = False
Me.Hide
End Sub
Providing Library
Access
The next subroutine creates the PCDLogin object. It appends a network
alias to a document security token (DST). The following algorithm is
used:
1 Create the PCDLogin object.
2 Call the AddLogin method, which provides the logon mode,
logon location, user name, and password.
3 Call the Execute method.
4 Call the GetDST method.
Note: If there is no network alias, the user name and Attaché password are
used. Also, a second logon may be needed when file access occurs, such as
when the user logs on to the DM Server or when a valid user account on a
particular DM Server is required. A second logon may also be required if a
network alias to a DM Server is not set in Library maintenance.
The following example illustrates how you can provide Library logon
support for your users:
Private Sub cmdOK_Click()
Dim login As New PCDLogin
Dim fl As Object
Dim i As Long
Seitenansicht 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 527 528

Kommentare zu diesen Handbüchern

Keine Kommentare