Interface IBackOfficeUserManager
The user manager for the back office
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IBackOfficeUserManager : IUmbracoUserManager<BackOfficeIdentityUser>
Methods
View SourceNotifyForgotPasswordChanged(IPrincipal, string)
Notifies the system that a user's password has been changed as a result of completing the forgot password process.
Declaration
void NotifyForgotPasswordChanged(IPrincipal currentUser, string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| IPrincipal | currentUser | The principal representing the user performing the notification action. |
| string | userId | The unique identifier of the user whose password was changed. |
NotifyForgotPasswordRequested(IPrincipal, string)
Notifies the system that a forgot password request has been made for a back office user.
Declaration
void NotifyForgotPasswordRequested(IPrincipal currentUser, string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| IPrincipal | currentUser | The principal representing the user initiating the notification, typically an administrator or system process. |
| string | userId | The unique identifier of the user for whom the password reset was requested. |
NotifyLogoutSuccess(IPrincipal, string?)
Notifies the system that a logout operation has succeeded for a specified user.
Declaration
SignOutSuccessResult NotifyLogoutSuccess(IPrincipal currentUser, string? userId)
Parameters
| Type | Name | Description |
|---|---|---|
| IPrincipal | currentUser | The principal representing the user performing the logout. |
| string | userId | The optional identifier of the user who logged out; may be |
Returns
| Type | Description |
|---|---|
| SignOutSuccessResult | A SignOutSuccessResult representing the outcome of the logout notification. |