Class MemberRolesNotification
Abstract base class for notifications related to member role assignments.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public abstract class MemberRolesNotification : INotification
Remarks
This class is used as a base for notifications published when member roles are assigned or removed.
Constructors
View SourceMemberRolesNotification(int[], string[])
Initializes a new instance of the MemberRolesNotification class.
Declaration
protected MemberRolesNotification(int[] memberIds, string[] roles)
Parameters
| Type | Name | Description |
|---|---|---|
| int[] | memberIds | The IDs of the members affected by the role change. |
| string[] | roles | The names of the roles being assigned or removed. |
Properties
View SourceMemberIds
Gets the IDs of the members affected by the role change.
Declaration
public int[] MemberIds { get; }
Property Value
| Type | Description |
|---|---|
| int[] |
Roles
Gets the names of the roles being assigned or removed.
Declaration
public string[] Roles { get; }
Property Value
| Type | Description |
|---|---|
| string[] |