1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/CheckTaskAccesses.txt
2024-08-13 14:04:54 +00:00

15 lines
517 B
Plaintext

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