• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/discount/context/fuser.php
  • Класс: Bitrix\Sale\Discount\Context\Fuser
  • Вызов: Fuser::__construct
public function __construct($fuserId)
{
	$this->fuserId = $fuserId;
	$this->userId = RuntimeCache\FuserCache::getInstance()->getUserIdById($this->fuserId);
	$this->setUserGroups(\CUser::getUserGroup($this->userId));
}