Newer Version Available

This content describes an older version of this product. View Latest

TwoFactorMethodsInfo

Stores information about which identity verification methods a user has registered. This object is available in API version 37.0 and later.

Supported Calls

describeSObjects()query()

Special Access Rules

You need the “Manage Two-Factor Authentication in API” permission to access this object.

Fields

Field Name Details
ExternalId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
A unique system-generated numerical identifier for the user.
HasSalesforceAuthenticator
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
If true, the user has connected the Salesforce Authenticator mobile app. The user can verify identity by approving a notification sent to the app. If the user sets a trusted location in the app, Salesforce Authenticator verifies automatically when the user is in the trusted location.
HasTempCode
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
If true, the user has a temporary verification code generated by a Salesforce admin or user with “Manage Two-Factor Authentication in User Interface” permission.
HasTotp
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
If true, the user has connected an authenticator app that generates verification codes, also known as time-based one-time passwords (TOTP). The user can verify identity by entering a code generated by the app.
HasU2F
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
If true, the user has registered a U2F security key. The user can verify identity by inserting the security key into a USB port to generate credentials.
HasVerifiedMobileNumber
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
If true, the user has verified a mobile phone number. Salesforce can text a verification code to the user at that number.
UserId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the user who’s associated with the identity verification methods.