Contents Index Error handling Adding ActiveSync synchronization to your application

Native UltraLite for Java User's Guide
  Understanding UltraLite Development

User authentication


There is a common sequence of events to managing user IDs and passwords.

  1. New users have to be added from an existing connection. As all UltraLite databases are created with a default user ID and password of DBA and SQL, respectively, you must first connect as this initial user and implement user management only upon successful connection.

  2. You cannot change a user ID: you add a user and delete an existing user. A maximum of four user IDs are permitted for each UltraLite database.

  3. To change the password for an existing user ID, use the Connection.grantConnectTo method.

For more information, see the following classes in the API Reference:


Contents Index Error handling Adding ActiveSync synchronization to your application