UltraLite Embedded SQL User's Guide
Embedded SQL Library Functions
void ULEnableUserAuthentication( SQLCA * sqlca );
Enable user authentication in the UltraLite application.
If you do not call this function, no user ID or password is required to access an UltraLite database. With this function, your application must supply a valid user ID and password. UltraLite databases are created with a single authenticated user ID DBA which has initial password SQL.
This function can be used by C++ API applications as well as embedded SQL applications. It must be called before dbinit() or ULData.Open().
Adding user authentication to your application