Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    ChangeUserPasswordModel()

    Declaration
    public ChangeUserPasswordModel()

    Properties

    View Source

    NewPassword

    Gets or sets the new password to set for the user.

    Declaration
    public required string NewPassword { get; set; }
    Property Value
    Type Description
    string
    View Source

    OldPassword

    Gets or sets the old password for validation when changing a password.

    Declaration
    public string? OldPassword { get; set; }
    Property Value
    Type Description
    string
    View Source

    ResetPasswordToken

    Gets or sets the reset password token used for password reset operations.

    Declaration
    public string? ResetPasswordToken { get; set; }
    Property Value
    Type Description
    string
    View Source

    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
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX