Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
UL Ext:授权某个用户 ID 使用指定口令访问 UltraLite 数据库。
Public Sub GrantConnectTo(ByVal uid As String, ByVal pwd As String)
public void GrantConnectTo(string uid, string pwd)
uid 获得数据库访问权限的用户 ID。
pwd 要与用户 ID 关联的口令。
如果指定了现有的用户 ID,则此函数更新该用户的口令。UltraLite 最多支持 4 个用户。只有在连接打开时启用了用户验证的情况下,才会启用此方法。