Documentation

CGroup Class

CGroup class is used to handle user groups.

Equivalent to the class in the new core D7 - Bitrix\Main\GroupTable .

Fields


FieldTypeDescription
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_SORTintSorting index
STRING_IDvarchar(255)Symbol index

Class methods

MethodDescription 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
Up