StoreConnectionIdCredentials - cConnection
Used to store login credentials (user name, password and trusted-connection) in the connections INI file
Type: Function
Return Data Type: Boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
| sId | String | Connection ID |
| sUID | String | User Id |
| sPWD | String | Password |
| bTrusted | Boolean | Use Trusted Connection? |
Syntax
Function StoreConnectionIdCredentials String sId String sUID String sPWD Boolean bTrusted Returns Boolean
Call Example
Get StoreConnectionIdCredentials sId sUID sPWD bTrusted to BooleanVariable
Description
StoreConnectionIdCredentials is used to store login credentials (user name, password and trusted-connection) in the connections INI file.
This is the message used by the database login dialog to store successful login credentials.
This method first encrypts the password by sending EncryptPassword and then stores the credentials by calling OnWriteCredentials.
While this method can be augmented, you should first look into augmenting EncryptPassword/DecryptPassword and OnWriteCredentials/OnReadCredentials.
Return Value
Status: True = Success, False = Failed