Search Results for

    Show / Hide Table of Contents
    View Source

    Class ChangingPasswordModel

    A model representing the data required to set a member/user password depending on the provider installed.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ChangingPasswordModel

    Properties

    View Source

    Id

    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
    int
    View Source

    NewPassword

    The password value

    Declaration
    [DataMember(Name = "newPassword")]
    public required string NewPassword { get; set; }
    Property Value
    Type Description
    string
    View Source

    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
    string
    View Source

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