Class UserPasswordResettingNotification
Notification published before a user's password is reset.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class UserPasswordResettingNotification : CancelableObjectNotification<IUser>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the password reset
by setting Cancel to true.
Constructors
View SourceUserPasswordResettingNotification(IUser, EventMessages)
Initializes a new instance of the UserPasswordResettingNotification class.
Declaration
public UserPasswordResettingNotification(IUser target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IUser | target | The user whose password is being reset. |
| EventMessages | messages | The event messages collection. |
Properties
View SourceUser
Gets the user whose password is being reset.
Declaration
public IUser User { get; }
Property Value
| Type | Description |
|---|---|
| IUser |