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