Get user filter structure
Returns the field structure for filtering users in the FindUsers method
Function GetUserFilterStructure(Val Clear = False) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
Returns: Structure of KeyAndValue - Fields structure
1C:Enterprise/OneScript code example
Result = OPI_Bitrix24.GetUserFilterStructure();
- Bash
- CMD/Bat
oint bitrix24 GetUserFilterStructure \
--empty false
oint bitrix24 GetUserFilterStructure ^
--empty false
Result
{
"NAME": "<name>",
"LAST_NAME": "<surname>",
"WORK_POSITION": "<position>",
"UF_DEPARTMENT_NAME": "<department name>",
"USER_TYPE": "<type: employee, extranet, email>"
}