Class UsersToUserGroupManipulationModel
Represents a model for adding or removing users from a user group.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class UsersToUserGroupManipulationModel
Constructors
View SourceUsersToUserGroupManipulationModel(Guid, Guid[])
Initializes a new instance of the UsersToUserGroupManipulationModel class.
Declaration
public UsersToUserGroupManipulationModel(Guid userGroupKey, Guid[] userKeys)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | userGroupKey | The unique key of the user group. |
| Guid[] | userKeys | The array of user keys to manipulate. |
Properties
View SourceUserGroupKey
Gets the unique key of the user group to manipulate.
Declaration
public Guid UserGroupKey { get; init; }
Property Value
| Type | Description |
|---|---|
| Guid |
UserKeys
Gets the array of user keys to add to or remove from the user group.
Declaration
public Guid[] UserKeys { get; init; }
Property Value
| Type | Description |
|---|---|
| Guid[] |