CGroup Class
CGroup class is used to handle user groups.
Equivalent to the class in the new core D7 - Bitrix\Main\GroupTable .
Fields
Field | Type | Description |
---|---|---|
ID | int | Group ID. |
TIMESTAMP_X | datetime | Date and time of the last modification. |
ACTIVE | char | Active state (Y|N). |
NAME | varchar (50) | Name of the group. |
DESCRIPTION | varchar (255) | Description. |
C_SORT | int | Sorting index |
STRING_ID | varchar(255) | Symbol index |
Class methods
Method | Description | Available from version |
---|---|---|
GetList | Returns a filtered list of groups. | |
GetByID | Returns the user group by its ID. | |
GetGroupUser | Returns an array of all users of the group. | |
Add | Adds a new group of users. | |
Update | Modifies an existing group. | |
Delete | Removes a group. |
© «Bitrix24», 2001-2024