• Модуль: extranet
  • Путь к файлу: ~/bitrix/modules/extranet/classes/general/extranet.php
  • Класс: CExtranet
  • Вызов: CExtranet::OnGetProfileView
static function OnGetProfileView($currentUserId, $arUser, $siteId, $arContext, $bOnlyActive = true): bool
{
	global $USER;

	if ((int)$currentUserId === (int)$USER->getId())
	{
		return self::isProfileViewable($arUser, $siteId, $bOnlyActive, $arContext);
	}

	return false;
}