UltraLite for M-Business Anywhere User's Guide
Understanding UltraLite for M-Business Anywhere Development
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.
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.
For more information about granting or revoking connection authority, see Method grantConnectTo and Method revokeConnectFrom.
To add a user or change the password for an existing user
Connect to the database as a user with DBA authority.
Grant the user connection authority with the desired password.
conn.grantConnectTo("Robert", "newPassword");To delete an existing user
Connect to the database as a user with DBA authority.
Revoke the user's connection authority as follows.
conn.revokeConnectFrom("Robert");SQL Anywhere Studio 9.0.2
版权所有 © 1989–2005 Sybase, Inc. 部分版权所有 © 2001–2005 iAnywhere Solutions, Inc. 保留所有权利。