在Google工作区中没有MFA的用户
我想知道我们是否可以从没有多个因素身份验证的Google Workspace中的用户中删除任何数据,还可以从Google Workspace中的Admin API中拉出任何内容,例如用户列表或没有MFA的用户?
I want to know if we can pull out any data from the users in google workspace who don't have multi factor authentication, also can we pull anything from admin API in Google Workspace like the list of users or anything for the users without MFA?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这是可能的。您可以使用Directory API使用
users.list
方法来完成此操作,并通过简单查询从isenrolledin2sv
参数中检查值,您可以列出所有没有的用户在他们的帐户中设置MFA。例如,您可以使用Directory API和建议的方法使用以下脚本:
参考:
Yes it is possible. You can use the Directory API to do this with the
users.list
method and with a simple query checking the value from theisEnrolledIn2Sv
parameter you can list all the users that have not set up MFA in their accounts.As an example you can use the following script from Google Apps Script using the Directory API and the suggested methods:
References: