Class ChangingPasswordModel
A model representing the data required to set a member/user password depending on the provider installed.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class ChangingPasswordModel
Properties
View SourceId
The ID of the current user/member requesting the password change For users, required to allow changing password without the entire UserSave model
Declaration
[DataMember(Name = "id")]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OldPassword
The old password - used to change a password when: EnablePasswordRetrieval = false
Declaration
[DataMember(Name = "oldPassword")]
public string OldPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ResetPasswordToken
The reset token that is required if changing your own password without the old password.
Declaration
public string ResetPasswordToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |