ConnectionSettings.ConnectAsUserName Property

Definition

Specifies the NT user that is used when creating an impersonated connection. Exceptions: ConnectionCannotBeChangedException InvalidPropertyValueException PropertyNotSetException

public string ConnectAsUserName { get; set; }
member this.ConnectAsUserName : string with get, set
Public Property ConnectAsUserName As String

Property Value

Remarks

Two user name formats are supported: "domain\user" and "user@domain"

Applies to