MarkLogic XDBC.NET Library

IXdbcConnection.SetCredentials Method 

Creates the user credentials for this connection

[Visual Basic]
Sub SetCredentials( _
   ByVal user As String, _
   ByVal pass As String _
)
[C#]
void SetCredentials(
   string user,
   string pass
);

Parameters

user
The user name
pass
The password

See Also

IXdbcConnection Interface | MarkLogic.Xdbc Namespace