Class ApplicationUser
Inheritance
System.Object
ApplicationUser
Assembly: ImageVault.Web.dll
Syntax
public class ApplicationUser : IdentityUser, ILocalUser
Constructors
ApplicationUser()
Declaration
Properties
Declaration
public string Comment { get; set; }
Property Value
Type |
Description |
System.String |
|
CreationDate
Declaration
public DateTime CreationDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
IsApproved
Declaration
public bool IsApproved { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsLockedOut
Declaration
public bool IsLockedOut { get; }
Property Value
Type |
Description |
System.Boolean |
|
LastLockoutDate
Declaration
public DateTime? LastLockoutDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
LastLoginDate
Declaration
public DateTime? LastLoginDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
Methods
AddExternalClaim(String, String, String, String)
Add claims from external login provider
Declaration
public void AddExternalClaim(string type, string value, string valueType, string issuer)
Parameters
Type |
Name |
Description |
System.String |
type |
|
System.String |
value |
|
System.String |
valueType |
|
System.String |
issuer |
|
GenerateUserIdentityAsync(UserManager<ApplicationUser>)
Declaration
public Task<ClaimsIdentity> GenerateUserIdentityAsync(UserManager<ApplicationUser> manager)
Parameters
Type |
Name |
Description |
Microsoft.AspNet.Identity.UserManager<ApplicationUser> |
manager |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> |
|
GetRoleIds()
Declaration
public IList<string> GetRoleIds()
Returns
Type |
Description |
System.Collections.Generic.IList<System.String> |
|
HasPassword()
Declaration
public bool HasPassword()
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
ILocalUser.Logins
Declaration
IList<LoginInfo> ILocalUser.Logins { get; }
Returns
Type |
Description |
System.Collections.Generic.IList<LoginInfo> |
|
Implements