Documentation

SendRequestToBeMember

bool
CSocNetUserToGroup::SendRequestToBeMember(
 int userID,
 int groupID,
 string message,
 text RequestConfirmUrl = "",
 bool bAutoSubscribe = true
);

The method sends invitation request for joining for workgroup. Static method.

Parameters

Parameter Description Available from version
userID User ID who sends invitation request.
groupID Workgroup ID.
message Additional request text.
RequestConfirmUrl Link URL for confirmation to join workgroup.
bAutoSubscribe Autosubscription flag for user. Optional parameter. Set to true by default.

Returned value

Returns true on success and false otherwise.



© «Bitrix24», 2001-2024