Share via


IdentityUser Class

Default EntityFramework IUser implementation

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.Identity.EntityFramework.IdentityUser

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

Syntax

'Declaration
Public Class IdentityUser _
    Implements IUser
'Usage
Dim instance As IdentityUser
public class IdentityUser : IUser
public ref class IdentityUser : IUser
type IdentityUser =  
    class 
        interface IUser 
    end
public class IdentityUser implements IUser

The IdentityUser type exposes the following members.

Constructors

  Name Description
Public method IdentityUser() Constructor
Public method IdentityUser(String) Constructor that takes a userName

Top

Properties

  Name Description
Public property Claims Navigation property for user claims
Public property Id User ID (Primary Key)
Public property Logins Navigation property for user logins
Public property PasswordHash The salted/hashed form of the user password
Public property Roles Navigation property for user roles
Public property SecurityStamp A random value that should change whenever a users credentials have changed (password changed, login removed)
Public property UserName User name

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.Identity.EntityFramework Namespace