Class UserDeletedNotification
Notification that is published after a user has been deleted.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class UserDeletedNotification : DeletedNotification<IUser>, IStatefulNotification, INotification
Remarks
This notification is published by the IUserService after the user has been removed. It is not cancelable since the delete operation has already completed.
Constructors
View SourceUserDeletedNotification(IUser, EventMessages)
Initializes a new instance of the UserDeletedNotification class with a single user.
Declaration
public UserDeletedNotification(IUser target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IUser | target | The user that was deleted. |
| EventMessages | messages | The event messages collection. |