Share via


UserInfo.UserName Property

 

Gets or sets the user name that is associated with the user account.

Namespace:   Microsoft.WindowsServerSolutions.Users
Assembly:  UserObjectModel (in UserObjectModel.dll)

Syntax

[DataMemberAttribute]
public string UserName { get; set; }
public:
[DataMemberAttribute]
property String^ UserName {
    String^ get();
    void set(String^ value);
}
<DataMemberAttribute>
Public Property UserName As String

Property Value

Type: System.String

An instance of String that contains the user name.

See Also

UserInfo Class
Microsoft.WindowsServerSolutions.Users Namespace

Return to top