Class UserLoginFailedNotification
Notification that is published when a user login attempt fails.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class UserLoginFailedNotification : UserNotification, INotification
Remarks
This notification is useful for audit logging, security monitoring, and detecting potential brute-force attacks.
Constructors
View SourceUserLoginFailedNotification(string, string, string)
Initializes a new instance of the UserLoginFailedNotification class.
Declaration
public UserLoginFailedNotification(string ipAddress, string affectedUserId, string performingUserId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | ipAddress | The source IP address of the failed login attempt. |
| string | affectedUserId | The ID of the user whose login failed. |
| string | performingUserId | The ID of the user attempting the login. |