View Source
Class RegisterModel
Inheritance
System.Object
Assembly: Umbraco.Web.Website.dll
Syntax
public class RegisterModel : PostRedirectModel
Constructors
View Source
RegisterModel()
Declaration
Properties
View Source
AutomaticLogIn
Flag to determine if the member should be logged in automatically after successful registration
Declaration
public bool AutomaticLogIn { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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 |
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
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
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 |
|