Documentation

setMandatoryRights

void public static
\Bitrix\Security\Mfa\Otp::setMandatoryRights(
 array $rights
);

Static method sets OTP as required for user.

Parameters

ParameterDescriptionVersion
$rightsRequired access permissions. For example, ['G1'] for admins.

Example



© «Bitrix24», 2001-2024