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

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » UltraLite_Connection_iface class


GrantConnectTo function

Grants connection access to a given user.

bool UltraLite_Connection_iface::GrantConnectTo(
  const ULValue & uid,
  const ULValue & pwd
  • uid   The user ID for which access to connect is granted.

  • pwd   The password for the authorized user ID.


To create a new user, specify both a new user ID and a password.

To change a password, specify an existing user ID, but set a new password for that user.