UltraLite User's Guide
C++ API Reference
ULConnection class
bool GrantConnectTo( userid, password )
userid Character array holding the user ID. The maximum length is 16 characters.
password Character array holding the password for userid. The maximum length is 16 characters.
Grant access to an UltraLite database for a user ID with a specified password. If an existing user ID is specified, this function updates the password for the user.
User authentication for UltraLite databases
Adding user authentication to your application