How can I retrieve the CustomerId from a using Google API calls from a NonAdmin user?

[亡魂溺海] 提交于 2019-12-02 11:28:57

The customerId is identical for all users in the Google Apps instance (including users in other secondary domains).

If you're working with a single Google Apps instance, the customerId is static and thus once discovering it from an admin account, you can hard code it.

In order to retrieve the customerId via the users.get() API call, the authenticated user needs to at the very least be a delegated admin with read-only access to users via the API privileges.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!