Addloginlicensed, Addloginlicensed 13 – Kofax DM API User Manual

Page 152

Advertising
background image

132 C

HAPTER

4

AddLoginLicensed

AddLoginLicensed

The “Allow SQL Passthrough” setting in the DM system parameter
settings dialog can be used to deny access to the SQL passthrough
functions that the PCDSQL object supports. However, commercial
applications by third-party partners of Hummingbird can receive a
license key that allows their applications to access the PCDSQL object
regardless of the SQL passthrough setting.

Use this method to set the logon information that gets passed to the
DM Server if the API application is licensed to use the PCDSQL object
even if the “Allow SQL Passthrough” option has been disabled by the
DM administrator. The DM Server authenticates the logon
information when the PCDLogin.

Execute

() method is called.

Other than the two additional input parameters, this object functions
in the same way that the

AddLogin

() method functions.

Syntax

PCDLogin.AddLoginLicensed( intNetworkType, _

strUnitName, _

strUserName, _

strPassword , _

strApplicationID, _

strAppLicenseKey)

Advertising