View Source
Class MemberIdentityUser
The identity user used for the member
Inheritance
object
IdentityUser<string>
IdentityUser
Assembly: Umbraco.Infrastructure.dll
Syntax
public class MemberIdentityUser : UmbracoIdentityUser, IRememberBeingDirty, ICanBeDirty
Constructors
View Source
MemberIdentityUser()
Declaration
public MemberIdentityUser()
View Source
MemberIdentityUser(int)
Declaration
public MemberIdentityUser(int userId)
Parameters
| Type |
Name |
Description |
| int |
userId |
|
Properties
View Source
Gets or sets the member's comments
Declaration
public string? Comments { get; set; }
Property Value
View Source
CreatedDate
Declaration
public DateTime CreatedDate { get; set; }
Property Value
| Type |
Description |
| DateTime |
|
View Source
Key
Declaration
public Guid Key { get; set; }
Property Value
View Source
LastLockoutDate
Declaration
public DateTime? LastLockoutDate { get; set; }
Property Value
| Type |
Description |
| DateTime? |
|
View Source
MemberTypeAlias
Gets or sets the alias of the member type
Declaration
public string? MemberTypeAlias { get; set; }
Property Value
Methods
View Source
CreateNew(string, string, string, bool, string?, Guid?)
Used to construct a new instance without an identity
Declaration
public static MemberIdentityUser CreateNew(string username, string email, string memberTypeAlias, bool isApproved, string? name = null, Guid? key = null)
Parameters
| Type |
Name |
Description |
| string |
username |
|
| string |
email |
|
| string |
memberTypeAlias |
|
| bool |
isApproved |
|
| string |
name |
|
| Guid? |
key |
|
Returns