• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/ws_contact.php
  • Класс: \CCrmContactWS
  • Вызов: CCrmContactWS::CheckAuth
static function CheckAuth()
{
	$CCrmPerms = new CCrmPerms($GLOBALS['USER']->GetID());
	if ($CCrmPerms->HavePerm('LEAD', BX_CRM_PERM_NONE))
		return new CSOAPFault('Server Error', 'Unable to authorize user.');
	return false;
}