Skip to content

Instantly share code, notes, and snippets.

@theStrangeAdventurer
Last active July 31, 2019 07:08
Show Gist options
  • Save theStrangeAdventurer/7643b33914133a20163c8f7edb8f822f to your computer and use it in GitHub Desktop.
Save theStrangeAdventurer/7643b33914133a20163c8f7edb8f822f to your computer and use it in GitHub Desktop.
БИТРИКС: Получение всех пользовательских полей
<?php
$filter = [
"LOGIN" => 'login'
];
$arParameters = [
'SELECT' => ["UF_*"],
'FIELDS' => array(
'ID',
'ACTIVE',
'IS_ONLINE'
),
];
$rsUsers = CUser::GetList(($by="id"), ($order="desc"), $filter, $arParameters)->GetNext();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment