Class UserLoginSuccessNotification
Notification that is published after a user has successfully logged in.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class UserLoginSuccessNotification : UserNotification, INotification
Remarks
This notification is useful for audit logging and security monitoring purposes.
Constructors
View SourceUserLoginSuccessNotification(string, string, string)
Initializes a new instance of the UserLoginSuccessNotification class.
Declaration
public UserLoginSuccessNotification(string ipAddress, string affectedUserId, string performingUserId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | ipAddress | The source IP address of the user logging in. |
| string | affectedUserId | The ID of the user who logged in. |
| string | performingUserId | The ID of the user performing the login action. |