Class ChangeUserPasswordModel
Represents the model for changing a user's password.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.Membership
Assembly: Umbraco.Core.dll
Syntax
public class ChangeUserPasswordModel
Constructors
View SourceChangeUserPasswordModel()
Declaration
public ChangeUserPasswordModel()
Properties
View SourceNewPassword
Gets or sets the new password to set for the user.
Declaration
public required string NewPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OldPassword
Gets or sets the old password for validation when changing a password.
Declaration
public string? OldPassword { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResetPasswordToken
Gets or sets the reset password token used for password reset operations.
Declaration
public string? ResetPasswordToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserKey
Gets or sets the unique key identifying the user whose password is being changed.
Declaration
public Guid UserKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |