Addloginlicensed – Kofax DM API User Manual
Page 153
DM API M
ETHODS
AND
P
ROPERTIES
133
AddLoginLicensed
Parameters
Usage
Before you do a call to
AddLoginLicensed
, you need to get the logon
libraries available on the DM Server. (See
.)
Example
The following is a simple example that uses a user name with an
Attaché password.
.
.
.
'The API application method must receive an
'application ID and a license key from Hummingbird
'Ltd. in order to use this login method.
Dim oPCDLogin As new PCDLogin
Dim lngResult As Long
lngResult = oPCDLogin.AddLoginLicensed( 0 , _
strMyLibrary, ““, ““, _
strAppID, strLicenseKey )
lngResult = oPCDLogin.AddLoginLicensed( 0 ,
intNetworkType
The network type of the network alias. Valid
values are:
Library Logon (No Network) 0
NetWare Bindery 1
NetWare NDS 2
Microsoft Network 8
strUnitName
The DM library name, NetWare server
name, NDS tree name, or Windows domain,
workgroup, or server name.
strUserName
The user name for the specified unit.
strPassword
The password for the specified user.
strApplicationID
The application ID that was assigned by
Hummingbird.
strAppLicenseKey
The application key that was assigned by
Hummingbird.