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
An instance of String that contains the name of the user account.
See Also
UserIdentity Class
Microsoft.WindowsServerSolutions.Users Namespace
Return to top