Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserGroupSavingNotification

    Notification published before user groups are saved.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IEnumerable<IUserGroup>>
    CancelableObjectNotification<IEnumerable<IUserGroup>>
    CancelableEnumerableObjectNotification<IUserGroup>
    SavingNotification<IUserGroup>
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class UserGroupSavingNotification : SavingNotification<IUserGroup>, IStatefulNotification, ICancelableNotification, INotification
    Remarks

    This notification is cancelable, allowing handlers to prevent the save operation by setting Cancel to true.

    Constructors

    View Source

    UserGroupSavingNotification(IEnumerable<IUserGroup>, EventMessages)

    Initializes a new instance of the UserGroupSavingNotification class with multiple user groups.

    Declaration
    public UserGroupSavingNotification(IEnumerable<IUserGroup> target, EventMessages messages)
    Parameters
    Type Name Description
    IEnumerable<IUserGroup> target

    The user groups being saved.

    EventMessages messages

    The event messages collection.

    View Source

    UserGroupSavingNotification(IUserGroup, EventMessages)

    Initializes a new instance of the UserGroupSavingNotification class with a single user group.

    Declaration
    public UserGroupSavingNotification(IUserGroup target, EventMessages messages)
    Parameters
    Type Name Description
    IUserGroup target

    The user group being saved.

    EventMessages messages

    The event messages collection.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX