Kofax DM API Manual do Utilizador Página 149

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 528
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 148
DM API METHODS AND PROPERTIES 129
AddLogin
'dimensioned as constants.
Const iLibraryLogin As Integer = 0
Const iNetWareBindery As Integer = 1
Const iNetWareNDS As Integer = 2
Const iMicrosoftNetwork As Integer = 8
'Create an instance of the logon object.
pClient = Server.CreateObject("PCDClient.PCDLogin")
'Use the Attaché password to log on to the
'LegalLaw library.
hr = pClient.AddLogin iLibraryLogin, _
"LegalLaw", "t_rex", "roar"
'The DM Server authenticates the logon.
hr = pClient.Execute()
.
.
.
The following example captures the logon information a user enters on
a form. Again, it uses an Attaché password.
.
.
.
Private Type LOGIN_TYPE
LIBRARY_LOGIN As Integer
NETWORK_BINDERY As Integer
NETWORK_NDS As Integer
BANYAN_VINES As Integer
MS_NETWORD As Integer
End Type
'Module scope variables.
Dim MyLoginType As LOGIN_TYPE
Private Sub Command1_Click()
'Set up MyLOGIN_TYPE with logons that the
Vista de página 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 527 528

Comentários a estes Manuais

Sem comentários