Search Results for

    Show / Hide Table of Contents
    View Source

    Class BackOfficePasswordChanger

    Inheritance
    object
    Namespace: Umbraco.Cms.Api.Management.Security
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class BackOfficePasswordChanger : IBackOfficePasswordChanger

    Constructors

    View Source

    BackOfficePasswordChanger(IPasswordChanger<BackOfficeIdentityUser>, IBackOfficeUserManager)

    Declaration
    public BackOfficePasswordChanger(IPasswordChanger<BackOfficeIdentityUser> passwordChanger, IBackOfficeUserManager userManager)
    Parameters
    Type Name Description
    IPasswordChanger<BackOfficeIdentityUser> passwordChanger
    IBackOfficeUserManager userManager

    Methods

    View Source

    ChangeBackOfficePassword(ChangeBackOfficeUserPasswordModel, IUser?)

    Changes the password for a back office user.

    Declaration
    public Task<Attempt<PasswordChangedModel?>> ChangeBackOfficePassword(ChangeBackOfficeUserPasswordModel model, IUser? performingUser)
    Parameters
    Type Name Description
    ChangeBackOfficeUserPasswordModel model

    The password change model containing the user and new password details.

    IUser performingUser

    The user performing the password change operation.

    Returns
    Type Description
    Task<Attempt<PasswordChangedModel>>

    An Attempt<TResult> containing the result of the password change operation.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX