Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » Embedded SQL API reference

 

ULGrantConnectTo function

Grants access to an UltraLite database for a new or existing user ID with the given password.

Syntax
void ULGrantConnectTo(
SQLCA * sqlca,
ul_char * userid,
ul_char * password
);
Parameters

sqlca   A pointer to the SQLCA.

userid   A character array that holds the user ID. The maximum length is 16 characters.

password   A character array that holds the password for the user ID. The maximum length is 16 characters.

Remarks

If you specify an existing user ID, this function then updates the password for the user.

See also