如何以编程方式为G Suite中的用户重置登录Cookie? [英] How can I programatically reset the sign in cookies for a user in G Suite?
本文介绍了如何以编程方式为G Suite中的用户重置登录Cookie?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以在用户管理用户界面中手动进行操作,但是我无法在用户管理API中找到任何内容以编程方式进行操作.
It's possible to do it manually in the user management UI but I can't find anything in the user management API to do it programatically.
https://developers.google.com/admin-sdk /directory/v1/reference/users
推荐答案
我找到了一种解决方法.您可以暂停用户,然后立即恢复其帐户.这具有使他们的cookie无效的副作用.
I found a workaround. You can suspend a user and then immediately restore their account. This has the side effect of invalidating their cookies.
这篇关于如何以编程方式为G Suite中的用户重置登录Cookie?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文