CAllCrmLead::GetStatusCreatePermissionType

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CAllCrmLead
  4. GetStatusCreatePermissionType
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_lead.php
  • Класс: \CAllCrmLead
  • Вызов: CAllCrmLead::GetStatusCreatePermissionType
static function GetStatusCreatePermissionType($statusID, CCrmPerms $userPermissions = null)
{
	if($userPermissions === null)
	{
		$userPermissions = CCrmPerms::GetCurrentUserPermissions();
	}

	return $userPermissions->GetPermType(
		self::$TYPE_NAME,
		'ADD',
		array("STATUS_ID{$statusID}")
	);
}

Добавить комментарий