Search Results for

    Show / Hide Table of Contents
    View Source

    Class MemberIdentityUser

    The identity user used for the member

    Inheritance
    object
    IdentityUser<string>
    IdentityUser
    UmbracoIdentityUser
    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class MemberIdentityUser : UmbracoIdentityUser, IRememberBeingDirty, ICanBeDirty

    Constructors

    View Source

    MemberIdentityUser()

    Declaration
    public MemberIdentityUser()
    View Source

    MemberIdentityUser(int)

    Initializes a new instance of the MemberIdentityUser class.

    Declaration
    public MemberIdentityUser(int userId)
    Parameters
    Type Name Description
    int userId

    Properties

    View Source

    Comments

    Gets or sets the member's comments

    Declaration
    public string? Comments { get; set; }
    Property Value
    Type Description
    string
    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
    Type Description
    Guid
    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
    Type Description
    string

    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
    Type Description
    MemberIdentityUser
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX