Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserLockedNotification

    Notification that is published after a user account has been locked.

    Inheritance
    object
    UserNotification
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class UserLockedNotification : UserNotification, INotification
    Remarks

    This notification is useful for audit logging and security monitoring purposes. A user account may be locked after too many failed login attempts or by an administrator.

    Constructors

    View Source

    UserLockedNotification(string, string?, string)

    Initializes a new instance of the UserLockedNotification class.

    Declaration
    public UserLockedNotification(string ipAddress, string? affectedUserId, string performingUserId)
    Parameters
    Type Name Description
    string ipAddress

    The source IP address associated with the lock.

    string affectedUserId

    The ID of the user whose account was locked.

    string performingUserId

    The ID of the user or system that locked the account.

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