Interface IBackOfficePasswordChanger
Provides functionality to change back office user passwords.
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Core.dll
Syntax
public interface IBackOfficePasswordChanger
Methods
View SourceChangeBackOfficePassword(ChangeBackOfficeUserPasswordModel, IUser?)
Changes the password for a back office user.
Declaration
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. |