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