Documentation

OnBeforeSocNetUserToGroupUpdate

bool handler function(
   $ID
   array &arParams 
);
The event is called in the user-workgroup relationship parameter updating method before executing it. This event can be used to cancel such update or to re-define specific fields.

Parameters

ParameterDescription
ID Workgroup ID
arParams Updated record array of fields.

All parameters of this handler are links to original source variables. When you change a parameter within the handler, it changes the source variable received on fetch for handler function.

Returned value

To cancel the method, handler function must return false.


© «Bitrix24», 2001-2024