• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Factory.php
  • Класс: Bitrix\Crm\Service\Factory
  • Вызов: Factory::getUserType
protected function getUserType(): \CCrmUserType
{
	if (!$this->userType)
	{
		$userFieldEntityId = $this->getUserFieldEntityId();
		$this->userType = new \CCrmUserType(
			Application::getUserTypeManager(),
			$userFieldEntityId
		);
	}

	return $this->userType;
}