Search Results for

    Show / Hide Table of Contents
    View Source

    Class RegisterModel

    Inheritance
    System.Object
    PostRedirectModel
    Namespace: Umbraco.Cms.Web.Website.Models
    Assembly: Umbraco.Web.Website.dll
    Syntax
    public class RegisterModel : PostRedirectModel

    Constructors

    View Source

    RegisterModel()

    Declaration
    public RegisterModel()

    Properties

    View Source

    ConfirmPassword

    Declaration
    [DataType(DataType.Password)]
    [Display(Name = "Confirm password")]
    [Compare("Password", ErrorMessage = "The password and confirmation password do not match.")]
    public string ConfirmPassword { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Email

    Declaration
    [Required]
    [EmailAddress]
    [Display(Name = "Email")]
    public string Email { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    MemberProperties

    Returns the member properties

    Declaration
    public List<MemberPropertyModel> MemberProperties { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<MemberPropertyModel>
    View Source

    MemberTypeAlias

    The member type alias to use to register the member

    Declaration
    [Editable(false)]
    public string MemberTypeAlias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Name

    The members real name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Password

    The members password

    Declaration
    [Required]
    [StringLength(256)]
    [DataType(DataType.Password)]
    [Display(Name = "Password")]
    public string Password { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Username

    The username of the model, if UsernameIsEmail is true then this is ignored.

    Declaration
    public string Username { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    UsernameIsEmail

    Flag to determine if the username should be the email address, if true then the Username property is ignored

    Declaration
    public bool UsernameIsEmail { get; set; }
    Property Value
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • RegisterModel()
    • Properties
      • ConfirmPassword
      • Email
      • MemberProperties
      • MemberTypeAlias
      • Name
      • Password
      • Username
      • UsernameIsEmail
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX