• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/exchange/profileimport.php
  • Класс: BitrixSaleExchangeProfileImport
  • Вызов: ProfileImport::getUserProfile
static function getUserProfile(array $fields)
    {
        $result = array();

        $r = CSaleOrderUserProps::GetList(array(),
            array("XML_ID" => $fields["XML_ID"]),
            false,
            false,
            array("ID", "NAME", "USER_ID", "PERSON_TYPE_ID", "XML_ID", "VERSION_1C")
        );
        if ($ar = $r->Fetch())
            $result = $ar;

        return $result;
    }