Documentation

getActiveForControllerMember

\Bitrix\Main\DB\Result public static
\Bitrix\Controller\AuthGrantTable::getActiveForControllerMember(
 integer $controllerMemberId,
 integer $granteeUserId,
 array $granteeGroups = array()
);

Static method returns list of access permissions granted to the user ($granteeUserId) at the site ($controllerMemberId). When $granteeGroups is specified, list of groups will also be checked.

Parameters

ParameterDescriptionVersion
$controllerMemberIdID for site connected to the controller.
$userIdUser ID.
$granteeGroupsOptional array of user groups.

Exceptions

Example



© «Bitrix24», 2001-2024
Up