Enable user authentication in the UltraLite application.
Deprecated functionIn versions of UltraLite prior to 10, applications could invoke this function to enable user authentication. Beginning with version 10 of UltraLite, user authentication is enabled by default and cannot be disabled. |
void ULEnableUserAuthentication( SQLCA * sqlca );
sqlca A pointer to the SQLCA.
In the C++ API use the Sqlca.GetCA method.
If this function is not called, you do not need your user to supply a user ID or password to access an UltraLite database. Once this function is called your application must instead supply a valid user ID and password directly. UltraLite databases are created with a single authenticated user ID DBA which has initial password sql (lowercase).
This function can be used in C++ API applications as well as embedded SQL applications. You must call it before a connection is opened.