Documentation

user.userfield.list

Method gets list of user fields. Accessible only to users with administrator access permissions. Only filter and sorting are available.

Filter is available for the following keys:

  • ID
  • FIELD_NAME
  • USER_TYPE_ID
  • XML_ID
  • SORT
  • MULTIPLE
  • MANDATORY
  • SHOW_FILTER
  • SHOW_IN_LIST
  • EDIT_IN_LIST
  • IS_SEARCHABLE
  • LANG

Example

CRest::call(
   'user.userfield.list',
   [
      'order' => ['ID' => 'desc'],
      'filter' => ['ID' => 42],
   ]
);


© «Bitrix24», 2001-2024