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 |
NewPassword
The password value
Declaration
[DataMember(Name = "newPassword")]
public string NewPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |