Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the name of the user account.
Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)
Syntax
public string UserName { get; }
public:
property String^ UserName {
String^ get();
}
Public ReadOnly Property UserName As String
Property Value
Type: System.String
A String that contains the name of the user account.
See Also
User Class
Microsoft.WindowsServerSolutions.Users Namespace
Return to top