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
Parameter | Description | Version |
---|---|---|
$entityCode | Entity ID. | |
$actionCode | Action ID. | |
$minimumPermission | Permission ID. |
Exceptions
- ArgumentException (
\Bitrix\Main\ArgumentException
)
Examples
© «Bitrix24», 2001-2024