Class RolesEventArgs
Represents event data for role assignment operations.
Inheritance
object
EventArgs
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
public class RolesEventArgs : EventArgs
Constructors
View SourceRolesEventArgs(int[], string[])
Initializes a new instance of the RolesEventArgs class.
Declaration
public RolesEventArgs(int[] memberIds, string[] roles)
Parameters
| Type | Name | Description |
|---|---|---|
| int[] | memberIds | The identifiers of the members being assigned roles. |
| string[] | roles | The names of the roles being assigned. |
Properties
View SourceMemberIds
Gets or sets the identifiers of the members being assigned roles.
Declaration
public int[] MemberIds { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
Roles
Gets or sets the names of the roles being assigned.
Declaration
public string[] Roles { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |