WmiConnectionInfo.Username 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.
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