Метод canViewProfile
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
33–41
~/bitrix/modulestasks/lib/V2/Internal/Integration/Socialnetwork/Service/OperationAccessService.php
Исходный код
Сигнатура метода
public function canViewProfile(int $userId, int $targetUserId): bool
Возвращает:
bool
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
-
|
-
|
$targetUserId
|
int
|
-
|
-
|