ChangeConnectIdCredentials - cConnection
Changes login credentials for a Connection ID
Type: Function
Return Data Type: tConnection
Parameters
| Parameter | Type | Description |
|---|---|---|
| sId | String | Connection ID |
| sUser | String | User Name |
| sPwd | String | Password |
| bTrust | Boolean |
Syntax
Function ChangeConnectIdCredentials String sId String sUser String sPwd Boolean bTrust Returns tConnection
Call Example
Get ChangeConnectIdCredentials sId sUser sPwd bTrust to tConnectionVariable
Description
ChangeConnectIdCredentials logs out and disconnect from the existing connection and connect (but not login) to the new one.
Return Value
Status: 0 = Success, 1 = Failed