Documentation

CSocNetUserToGroup

CSocNetUserToGroup class is used to handle user membership in the social network groups.

Class methods

MethodDescriptionAvailable from version
DeleteDeletes association between user and group.
GetByIDReturns association parameters between user and workgroup.
UpdateUpdates association parameters between user and workgroup.
AddCreates new association between user and workgroup.
GetListReturns list of association between users and workgroups.
GetUserRoleReturns user role in workgroup.
SendRequestToBeMemberSends request from user to join a workgroup.
SendRequestToJoinGroupSends request from workgroup for user to join.
ConfirmRequestToBeMemberConfirms user requests to join a workgroup.
RejectRequestToBeMemberRejects user requests to join a workgroup.
UserConfirmRequestToBeMemberSends workgroup request for user to join.
UserRejectRequestToBeMemberRejects workgroup request for user to join.
[link=11068465]TransferModerator2Member[/link]Dismisses user from workgroup moderator role.
[link=11068407]TransferMember2Moderator[/link]Assigns users to workgroup moderator role.
BanMemberIncludes user into the workgroup ban list.
UnBanMemberRemoves user from the workgroup ban list.
DeleteRelationDeletes user from workgroup.
InitUserPermsInitializes user permissions array within specified workgroup.
SpeedFileExistsChecks if user has new messages.


© «Bitrix24», 2001-2024
Up