How to check if a user has 2-fact authentication using the Google Admin SDK APIs

I am using the Google Admin SDK APIs to manage users (create / update) in our Google Apps for Organizations account. We allow users to optionally use the 2-factor verification feature, and I would like to be able to determine if an account is enabled or not when one of our internal support supporters is reviewing their account. Looking back at the docs at https://developers.google.com/admin-sdk/directory/v1/reference/users I can't see any attributes indicating this setting.

Is there any other way to check if it's enabled via the API?

+3


source to share


1 answer


Chose an answer from an old Stackoverflow post:

Find all Google Apps users who are not using two-factor authentication



You can actually find this information via the Admin SDK Reporting API: https://developers.google.com/admin-sdk/reports/v1/reference/usage-ref-appendix-a/users-accounts

Hope this helps!

+4


source







All Articles