ArrayOfUsers = New Array; ArrayOfUsers.Add("1"); ArrayOfUsers.Add("10"); URL = FunctionParameters["Bitrix24_URL"]; TaskID = FunctionParameters["Bitrix24_HookTaskID"]; Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers); OPI_TestDataRetrieval.WriteLog(Result, "CheckTaskAccesses (wh)", "Bitrix24"); URL = FunctionParameters["Bitrix24_Domain"]; Token = FunctionParameters["Bitrix24_Token"]; TaskID = FunctionParameters["Bitrix24_TaskID"]; Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token);