Documentation

UserConfirmRequestToBeMember

bool
CSocNetUserToGroup::UserConfirmRequestToBeMember(
 int targetUserID,
 int relationID,
 bool bAutoSubscribe = true
);

The method is used to accept invitations to join a workgroup. Static method.

Parameters

Parameter Description Available from version
senderUserID User ID who received and accepted invitation to join a workgroup. Available before version 11.5.4.
targetUserID User ID who received and accepted invitation to join a workgroup. 11.5.4
relationID Binding ID between workgroup and user.
bAutoSubscribe Autosubscription flag for user. Optional parameter. True by default. 10.0.0

Returned value

Returns true on success and false otherwise.



© «Bitrix24», 2001-2024
Up