Class UserGroupWithUsers
Represents a user group along with the users that were added to or removed from it.
Inheritance
object
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
public class UserGroupWithUsers
Constructors
View SourceUserGroupWithUsers(IUserGroup, IUser[], IUser[])
Initializes a new instance of the UserGroupWithUsers class.
Declaration
public UserGroupWithUsers(IUserGroup userGroup, IUser[] addedUsers, IUser[] removedUsers)
Parameters
| Type | Name | Description |
|---|---|---|
| IUserGroup | userGroup | The user group. |
| IUser[] | addedUsers | The users that were added to the group. |
| IUser[] | removedUsers | The users that were removed from the group. |
Properties
View SourceAddedUsers
Gets the users that were added to the group.
Declaration
public IUser[] AddedUsers { get; }
Property Value
| Type | Description |
|---|---|
| IUser[] |
RemovedUsers
Gets the users that were removed from the group.
Declaration
public IUser[] RemovedUsers { get; }
Property Value
| Type | Description |
|---|---|
| IUser[] |
UserGroup
Gets the user group.
Declaration
public IUserGroup UserGroup { get; }
Property Value
| Type | Description |
|---|---|
| IUserGroup |