KSC Open API
Kaspersky Security Center API description
TotpGlobalSettings Class Reference

2FA global settings More...

List of all members.

Public Member Functions

 Set2FaRequiredForAll (boolean bRequiredForAll)
 Set global flag "2FA is required for all users" Second factor must be configured for current user to be able to call this method.
boolean Get2FaRequiredForAll ()
 Read global flag "2FA is required for all users".
 SetTotpGlobalSettings (params pSettings)
 Set global TOTP settings.
 GetTotpGlobalSettings ([out] params pSettings)
 Read global TOTP settings.
boolean IfCanConfigure2FaSettings ([out] boolean bLoggedInUsing2FA)
 Checks whether calling user has enough access rights to modify 2FA settings Used by console to decide whether to display configuration options and whether to start setting up 2FA for current user. 2FA settings modification is allowed only if this method returns true AND bLoggedInUsing2FA is true.

Detailed Description

2FA global settings