Share via


IdentityUser.UserName Property

User name

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

Syntax

'Declaration
Public Overridable Property UserName As String 
    Get 
    Set
'Usage
Dim instance As IdentityUser 
Dim value As String 

value = instance.UserName

instance.UserName = value
public virtual string UserName { get; set; }
public:
virtual property String^ UserName {
    String^ get ();
    void set (String^ value);
}
abstract UserName : string with get, set 
override UserName : string with get, set
function get UserName () : String 
function set UserName (value : String)

Property Value

Type: System.String

Implements

IUser.UserName

See Also

Reference

IdentityUser Class

Microsoft.AspNet.Identity.EntityFramework Namespace