Documentation

Workgroups

Permission Social network workgroups (sonet_group)

Methods

MethodDescription
sonet_group.get Returns an array of social network groups, each of which contains an array of fields by calling CSocNetGroup::GetList(), in this case only groups available to user by permissions are returned.
sonet_group.create Creates social network group using the API method CSocNetGroup::CreateGroup(), specifying the current user as the group owner.
sonet_group.update Changes social network group parameters by using the API method CSocNetGroup::Update().
sonet_group.delete Deletes social network group.
sonet_group.user.get Returns an array of social network group members by calling CSocNetUserToGroup::GetList(), in this case the current user's group access permissions are verified.
sonet_group.user.invite Invites users to social network group on behalf of the current user, in this case the current user's group access permissions are verified.
sonet_group.user.request Sends a current user request to join the social network group, in this case the current user's group access permissions are verified.
sonet_group.user.groups Returns an array of the current user's social network groups by calling CSocNetUserToGroup::GetList().
sonet_group.feature.access Verifies whether the current user has permissions to perform social network group operations by calling the CSocNetFeaturesPerms::CurrentUserCanPerformOperation() function.


© «Bitrix Inc.», 2001-2018, «Bitrix Inc.», 2018