Class AssignedMemberRolesNotification
A notification that is used to trigger the IMemberService when the AssignRoles and ReplaceRoles methods are called in the API.
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class AssignedMemberRolesNotification : MemberRolesNotification, INotification
Constructors
View SourceAssignedMemberRolesNotification(Int32[], String[])
Initializes a new instance of the AssignedMemberRolesNotification.
Declaration
public AssignedMemberRolesNotification(int[] memberIds, string[] roles)
Parameters
Type | Name | Description |
---|---|---|
System.Int32[] | memberIds | Collection of Ids of the members the roles are being assigned to. |
System.String[] | roles | Collection of role names being assigned. |