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 Multi-Factor Authentication in API permission to access this object. (Note that multi-factor authentication was formerly called two-factor authentication.)

Fields

Field Name Details
ExternalId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
A unique system-generated numerical identifier for the user.
HasBuiltInAuthenticator
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
If true, the user has registered a built-in authenticator on their device, such as Touch ID or Windows Hello. The user can verify their identity by using the built-in authenticator.
This field is available in API version 53.0 and later.
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 Multi-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.
HasUserVerifiedEmailAddress
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
If true, the user has self-registered and verified an email address.

This parameter is available in API version 43 and later.

HasUserVerifiedMobileNumber
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
If true, the user has self-registered and verified a mobile phone number. Salesforce can text a verification code to the user at that number.

This parameter is available in API version 43 and later.

HasVerifiedMobileNumber
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
If true, the user has a mobile phone number that was added by an administrator or self-registered by the user. 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.