ConnectionSettings.ConnectAsUserName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the Windows user that is used when creating an impersonated connection. The user must have interactive logon privileges. 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"