Parameter | Description |
---|---|
sId | Connection ID |
bSilent | Determines whether a login dialog should be presented if the login attempt fails |
Status: 0 = Success, 1 = Failed
Function LoginConnectIdBase String sId Boolean bSilent Returns Integer
Call: | Get LoginConnectIdBase sId bSilent to IntegerVariable |
LoginConnectIdBase attempts the actual login.
First, it attempts a silent login using the credentials that were defined during the add connection process.
If this fail and the bSilent parameter is False, it calls LoginConnectIdDialog, which will optionally pop up a database login dialog.
It returns success or failure. An error status is returned (see piErrorNumber, piErrorLine and psErrorText).