logSiteToControllerAuth
\Bitrix\Main\Entity\AddResult public static \Bitrix\Controller\AuthLogTable::logSiteToControllerAuth( integer $controllerMemberId, integer $userId, boolean $isSuccess = true, string $type = '', string $userName = '' );
Static method logs authorization at the controller.
Parameters
Parameter | Description | Version |
---|---|---|
$controllerMemberId | ID for site connected to the controller. | |
$userId | User ID. | |
$isSuccess | Operation success/failure. | |
$type | Optional type string. | |
$userName | User name optional details. |
Exceptions
\Exception
See Also
- isEnabled (
\Bitrix\Controller\AuthLogTable::isEnabled
)
Example
© «Bitrix24», 2001-2024