Documentation

Social Network Groups

Permission Social network groups (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.
sonet_group.setowner Changes owner of social network group.
sonet_group.user.add Adds users as social network group members (without invitation and confirmation).
sonet_group.user.delete Deletes users from social network group.
sonet_group.user.update Changes user role in the social network group.
socialnetwork.api.workgroup.list Returns list of groups.
socialnetwork.api.workgroup.get Returns workgroup data.


© «Bitrix24», 2001-2024