MarkLogic XCC/.Net Library

UserCredentials.ToHttpBasicAuth Method 

Returns an HTTP basic authentication string, suitable for use as the value of an HTTP Authentication header.

[Visual Basic]
Function ToHttpBasicAuth() As String
[C#]
string ToHttpBasicAuth();

Return Value

An HTTP basic authentication header value.

See Also

UserCredentials Interface | Marklogic.Xcc Namespace