c# - Access GSuite user mailboxes using admin credentials
问题描述
Can I access Gsuite domain users mailbox using admin credentials of that account. Currently I am using service account and able to read mailboxes, but can the same thing be done using admin credentials without service account.
Note: I am using Gmail API to read mailbox
解决方案
您必须使用服务帐户才能访问域范围内的用户数据。Gmail API 仅限于个人用户,即使您向域超级管理员授权,您也只能访问他的个人数据。
请参考:
https://developers.google.com/admin-sdk/reports/v1/guides/delegation,https://developers.google.com/gmail/api/guides/migrate-from-email-settings。_ _
推荐阅读
- javascript - 是否可以使用具有特定复选框状态的 jQuery filter()?
- bash - Bash:在变量中捕获脚本的回声
- javascript - 速度:如何将 txt 内容设置为变量
- unity3d - 无法启动协程,因为游戏对象“场景加载器”处于非活动状态
- javascript - 激活条件时,警报框不会显示在正确的方向
- monaco-editor - 如何在每次击键时触发 Monaco 的 onDidChangeModelContent() 函数?
- java - Java 应用程序中应该存在多少个线程?
- c++ - 有条件的?: 带有类构造函数的运算符
- java - 一次填充单例并从java中的所有线程访问数据
- xcode - Xcode 10 和 super.tearDown