WmiConnectionInfo.Username Property

Definition

Gets the name of the account used to establish the connection.

public:
 property System::String ^ Username { System::String ^ get(); void set(System::String ^ value); };
public string Username { get; set; }
member this.Username : string with get, set
Public Property Username As String

Property Value

A String value that specifies the name of the account used to establish the connection.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to