Skip to main content

Get user filter structure

Returns the field structure for filtering users in the FindUsers method

Function GetUserFilterStructure(Val Clear = False) Export

ParameterCLI optionTypeRequiredDescription
Clear--emptyBooleanTrue > structure with empty valuse, False > field descriptions at values

Returns: Structure of KeyAndValue - Fields structure


1C:Enterprise/OneScript code example
    Result = OPI_Bitrix24.GetUserFilterStructure();
    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>"
}