简体   繁体   English

我可以访问我的 Google 工作区组织下的所有用户 Google 日历吗?

[英]Can I access all the users google calendar under my Google workspace organisation?

I'm currently working on a project that integrate Zoho people calendar with google calendar and update all the leave events accordingly, I'm being able to do it using my personal account but my question is can I do it with a Google workspace super admin account?我目前正在开发一个将 Zoho People Calendar 与 Google Calendar 集成并相应地更新所有休假事件的项目,我可以使用我的个人帐户来完成,但我的问题是我可以使用 Google Workspace 超级管理员来完成吗帐户? like, can I access all the primary calendars of all employees under our workspace organisation and update event using google calendar api by creating google calendar api credentials using the super admin account?比如,我可以通过使用超级管理员帐户创建 google calendar api 凭据来访问我们工作区组织下所有员工的所有主日历并使用 google calendar api 更新事件吗?

I haven't tested it using workspace account cause I'm not getting permission to test it using our company account.我没有使用工作区帐户对其进行测试,因为我没有获得使用我们公司帐户对其进行测试的权限。 Even though I have created google calendar credentials using my official gmail account and I'm being able to fetch all my calendars including my primary one and update events of my choice using gale calendar api.即使我已经使用我的官方 gmail 帐户创建了 google 日历凭据,并且我能够获取我的所有日历,包括我的主要日历,并使用 gale calendar api 更新我选择的事件。

Yes, you should be able to access your user's calendars via API and to do so you will need to:是的,您应该能够通过 API 访问您用户的日历,为此您需要:

  1. Use a service account使用服务帐号
  2. Allow domain wide delegation to the service account (this way it will have the permissions to impersonate your organization users)允许在域范围内委托服务帐户(这样它将有权模拟您的组织用户)
  3. Implement impersonation in your code在您的代码中实施模拟

Basically the service account will impersonate the users that you specify and do the changes in their calendar on their behalf基本上,服务帐户将模拟您指定的用户并代表他们在他们的日历中进行更改

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 永久编程访问我自己的谷歌日历 - permanent programmatic access to my own google calendar 如何让 Google admin_sdk 上的所有用户? - How can I get all users on Google admin_sdk? 当我使用谷歌日历 API Python 输入新事件时,如何自定义谷歌日历的事件 ID? - How can I custom my Event ID of Google Calendar when I input new event with Google Calendar API Python? 我可以使用谷歌日历生成报告 - Can i generate reporting using google calendar 如何在Python中使用google.auth而不是oauth2client来访问我的Google日历 - How do I use google.auth instead of oauth2client in Python to get access to my Google Calendar Python3下的Google Calendar API错误 - Google calendar API error under Python3 使用Python的Google Calendar API访问 - Google Calendar API access with Python 使用服务帐户从谷歌日历 API 将共享日历插入我的列表时,访问角色出现问题 - Trouble with access role when inserting shared calendar to my list from google calendar API using service account 使用Google API服务帐户获取所有域用户的日历列表 - Using Google API service account get all domain users' calendar list 如何使用Python确定Google日历中的当前事件? - How can I determine the current event in Google Calendar using Python?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM