Class UserGroupWithUsersSavingNotification
Notification published before user groups with their associated users are saved.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public sealed class UserGroupWithUsersSavingNotification : SavingNotification<UserGroupWithUsers>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the save operation
by setting Cancel to true.
Constructors
View SourceUserGroupWithUsersSavingNotification(IEnumerable<UserGroupWithUsers>, EventMessages)
Initializes a new instance of the UserGroupWithUsersSavingNotification class with multiple user groups with users.
Declaration
public UserGroupWithUsersSavingNotification(IEnumerable<UserGroupWithUsers> target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<UserGroupWithUsers> | target | The user groups with users being saved. |
| EventMessages | messages | The event messages collection. |
UserGroupWithUsersSavingNotification(UserGroupWithUsers, EventMessages)
Initializes a new instance of the UserGroupWithUsersSavingNotification class with a single user group with users.
Declaration
public UserGroupWithUsersSavingNotification(UserGroupWithUsers target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| UserGroupWithUsers | target | The user group with users being saved. |
| EventMessages | messages | The event messages collection. |