Partager via


UserIdentity.UserName Property

 

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