Documentation

canRead

boolean public
\Bitrix\Vote\Attachment\Attach::canRead(
 integer $userId
);

Method checks user access permissions for reading current attached object. Non-static method.

Parameters

ParameterDescriptionVersion
$userIdUser ID.

Exceptions

  • \Bitrix\Main\SystemException

Example



© «Bitrix24», 2001-2024