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