Class AssignedMemberRolesNotification
Notification that is published after roles have been assigned to members.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class AssignedMemberRolesNotification : MemberRolesNotification, INotification
Remarks
This notification is published by the IMemberService when AssignRoles or ReplaceRoles methods complete.
Constructors
View SourceAssignedMemberRolesNotification(int[], string[])
Initializes a new instance of the AssignedMemberRolesNotification class.
Declaration
public AssignedMemberRolesNotification(int[] memberIds, string[] roles)
Parameters
| Type | Name | Description |
|---|---|---|
| int[] | memberIds | The IDs of the members the roles are being assigned to. |
| string[] | roles | The names of the roles being assigned. |