getPermission
string public \Bitrix\Voximplant\Security\Permissions::getPermission( string $entityCode, string $actionCode );
Non-static method returns permission ID based in user permissions.
Parameters
Parameter | Description | Version |
---|---|---|
$entityCode | Entity ID. | |
$actionCode | Action ID. |
Exceptions
- ArgumentException (
\Bitrix\Main\ArgumentException
)
Examples
© «Bitrix24», 2001-2024