Documentation

getByUser

static public static
\Bitrix\Security\Mfa\Otp::getByUser(
 integer $userId
);

Static method returns new instance for the user by its ID.

Parameters

ParameterDescriptionVersion
$userIdUser ID.

Exceptions

Example



© «Bitrix24», 2001-2024