Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API reference » Connection class


grantConnectTo method

Grants access to an UltraLite database for a user ID with a specified password.

grantConnectTo(String uid, String pwd)
  • uid   User ID to grant access to. The maximum length is 16 characters.

  • pwd   The password for the user ID.


If an existing user ID is specified, this function updates the password for the user. UltraLite supports a maximum of 4 users.