IdentityUser<TKey, TLogin, TRole, TClaim>.UserName Property

 

Gets or sets the user name.

Namespace:   Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

public virtual string UserName { get; set; }
public:
property String^ UserName {
    virtual String^ get();
    virtual void set(String^ value);
}
abstract UserName : string with get, set
override UserName : string with get, set
Public Overridable Property UserName As String

Property Value

Type: System.String

Implements

IUser<TKey>.UserName

See Also

IdentityUser<TKey, TLogin, TRole, TClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity

Return to top