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 : object
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
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
NewPassword
The password value
Declaration
public string NewPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OldPassword
The old password - used to change a password when: EnablePasswordRetrieval = false
Declaration
public string OldPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |