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: String sId String sUID String sPWD Boolean bTrusted

ParameterDescription
sIdConnection ID
sUIDUser Id
sPWDPassword
bTrustedUse Trusted Connection?


Return Value

Status: True = Success, False = Failed


Syntax
Function StoreConnectionIdCredentials String sId String sUID String sPWD Boolean bTrusted Returns Boolean

Call: 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.