Or can i know if that number was entered at "Advanced User Details"(verified) or "Personal Information"(maybe not verified)?

I want to check them before using "Auth.VerificationMethod.SMS" to avoid the error "User/Org configuration error: Could not send code due to :User/Org/Community settings does not allow phone verification".

  • What do you mean by verified number here? is it related to the format of the number or if it exists in the service provider directory (Active number)? Oct 13, 2021 at 6:35
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Oct 13, 2021 at 6:36

1 Answer 1


Resolved this question by finding the sObject "TwoFactorMethodInfo" and the field "HasUserVerifiedMobileNumber".

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .