View Source
Class MemberIdentityUser
The identity user used for the member
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class MemberIdentityUser : UmbracoIdentityUser, IRememberBeingDirty, ICanBeDirty
Constructors
View Source
MemberIdentityUser()
Declaration
public MemberIdentityUser()
View Source
MemberIdentityUser(Int32)
Declaration
public MemberIdentityUser(int userId)
Parameters
Type |
Name |
Description |
System.Int32 |
userId |
|
Properties
View Source
Gets or sets the member's comments
Declaration
public string Comments { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
CreatedDateUtc
Declaration
public DateTime CreatedDateUtc { get; set; }
Property Value
Type |
Description |
DateTime |
|
View Source
Key
Declaration
public Guid Key { get; set; }
Property Value
View Source
LastLockoutDateUtc
Declaration
public DateTime? LastLockoutDateUtc { get; set; }
Property Value
Type |
Description |
System.Nullable<DateTime> |
|
View Source
MemberTypeAlias
Gets or sets the alias of the member type
Declaration
public string MemberTypeAlias { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
View Source
CreateNew(String, String, String, Boolean, String)
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)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.String |
email |
|
System.String |
memberTypeAlias |
|
System.Boolean |
isApproved |
|
System.String |
name |
|
Returns