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

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULConnection class

GetSchema(String, String[]) method Next Page

GrantConnectTo method

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


Visual Basic

Public Sub GrantConnectTo( _
ByVal uid As String, _
ByVal pwd As String _


public void GrantConnectTo(
string uid,
string pwd


If an existing user ID is specified, this function updates the password for the user. UltraLite supports a maximum of 4 users. This method is enabled only if user authentication was enabled when the connection was opened.

See also