UltraLite Static C++ User's Guide
Adding Non Data Access Features to UltraLite Applications
Adding user authentication to your application
Enabling user authentication requires the application to supply a valid UltraLite user ID and password when connecting to the UltraLite database. If you do not explicitly enable user authentication, UltraLite does not authenticate users.
To enable user authentication (C++ API)
Define the compiler directive UL_ENABLE_USER_AUTH when compiling ulapi.cpp.
Call ULEnableUserAuthentication before opening the database. For example:
ULData db; ... ULEnableUserAuthentication( &sqlca ); db.open(); ...
Once you have enabled user authentication, you must add user management code to your application. For more information, see Managing user IDs and passwords.