Page last updated 26 April 2022
The group class represents a user group in Contensis.
Members
| Name | Type | Description |
|---|---|---|
| Custom | Dictionary<string,string></string,string> | The custom properties. |
| Description | string | A description for the group. |
| Name | string | The name of the group. |
| Type | GroupType | The type of the group, 'Sys', 'Contensis', 'External'. |
Methods
| Method | Returns | Description |
|---|---|---|
| AddChildGroup | void | Adds a child group to the group. |
| AddChildGroupAsync | void | Adds a child group to the group asynchronously. |
| AddUser | void | Adds a user to the group. |
| AddUserAsync | void | Adds a user to the group asynchronously. |
| AddUsers | void | Adds multiple users to the group. |
| AddUsersAsync | void | Adds multiple users to the group asynchronously. |
| Children | PagedList<Group> | Lists the child groups for the group. |
| ChildrenAsync | PagedList<Group> | Lists the child groups for the group asynchronously. |
| Delete | void | Deletes the user group. |
| DeleteAsync | void | Deletes the user group asynchronously. |
| RemoveChildGroup | void | Removes a child group from the group. |
| RemoveChildGroupAsync | void | Removes a child group from the group asynchronously. |
| RemoveUser | void | Removes a user the group. |
| RemoveUserAsync | void | Removes a user from the group asynchronously. |
| Save | void | Saves the group. |
| SaveAsync | void | Saves the group asynchronously. |
| Users | void | Lists the users that are members of the group. |
| UsersAsync | void | Lists the users that are members of the group asynchronously. |