Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserPasswordResettingNotification

    Notification published before a user's password is reset.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IUser>
    CancelableObjectNotification<IUser>
    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 Source

    UserPasswordResettingNotification(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 Source

    User

    Gets the user whose password is being reset.

    Declaration
    public IUser User { get; }
    Property Value
    Type Description
    IUser
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX