Documentation

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

ParameterDescriptionVersion
$controllerMemberIdID for site connected to the controller.
$userIdUser ID.
$isSuccessOperation success/failure.
$typeOptional type.
$userNameOptional user name details.

Exceptions

  • \Exception

See Also

  • isEnabled (\Bitrix\Controller\AuthLogTable::isEnabled)

Example



© «Bitrix24», 2001-2024