Documentation

canPerform

boolean public
\Bitrix\Voximplant\Security\Permissions::canPerform(
 string $entityCode,
 string $actionCode,
 string $minimumPermission = null
);

Non-static method returns true when user can execute specific action with an entity.

Parameters

ParameterDescriptionVersion
$entityCodeEntity ID.
$actionCodeAction ID.
$minimumPermissionPermission ID.

Exceptions

Examples



© «Bitrix24», 2001-2024