hasAdditionalRight
Rights::hasAdditionalRight( $code );
Method verifies of current user has access permissions to a specific access permission type.
Parameters
Method | Description | Available from version |
---|---|---|
code | Presently can have the following values:
|
Example
if (CModule::IncludeModule('landing')) { if (\Bitrix\Landing\Rights::hasAdditionalRight('menu24')) { echo 'Пункт меню Сайты24 доступен'; } }
© «Bitrix24», 2001-2024