LoginConnectIdNewCredentials - cConnection
Attempts a Connection Id login using Id with passed credentials
Type: Function
Return Data Type: Integer
Parameters
| Parameter | Type | Description |
|---|---|---|
| sId | String | Connection ID |
| sUser | String | User Name |
| sPwd | String | Password |
| bTrust | Boolean |
Syntax
Function LoginConnectIdNewCredentials String sId String sUser String sPwd Boolean bTrust Returns Integer
Call Example
Get LoginConnectIdNewCredentials sId sUser sPwd bTrust to IntegerVariable
Description
LoginConnectIdNewCredentials attempts a Connection Id login using Id with passed credentials.
These credentials will update the driver's map of Connection Id/Connection Strings (ConnectionIDs).
The Conenction Id must exist or it will trigger errors.
Return Value
Status: 0 = Success, 1 = Failed