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

SQL Anywhere 11.0.1 (中文) » UltraLite - C 及 C++ 编程 » API 参考 » UltraLite C++ API 参考 » UltraLite_Connection_iface 类

 

GrantConnectTo 函数

授予给定用户连接权限。

语法
bool UltraLite_Connection_iface::GrantConnectTo(
  const ULValue & uid,
  const ULValue & pwd
)
参数
  • uid   要授予其连接访问权限的用户 ID。

  • pwd   已授权用户 ID 的口令。

注释

要创建新用户,请指定新用户 ID 和口令。

要更改口令,请指定现有的用户 ID,但为该用户设置一个新口令。