ProcessStartInfo.Domain Property

Definition

Gets or sets a value that identifies the domain to use when starting the process. If this value is null, the UserName property must be specified in UPN format.

public:
 property System::String ^ Domain { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public string Domain { get; set; }
public string Domain { get; set; }
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.Domain : string with get, set
member this.Domain : string with get, set
Public Property Domain As String

Property Value

The Active Directory domain to use when starting the process. If this value is null, the UserName property must be specified in UPN format.

Attributes

Remarks

This property is primarily of interest to users within enterprise environments that use Active Directory.

Applies to