Get a list of users on a Google Apps domain

2019-06-05 01:34发布

We have an app in the Google Apps Marketplace (the new one, i.e. using OAuth2) which needs to get a list of users in the domain.

We're currently using the Provisioning API for this (which we know is deprecated, but there seems to be no better option). Lately however, we're starting to get "You are not authorized to access this API" 403's, for some domains.

1条回答
干净又极端
2楼-- · 2019-06-05 02:03

You can start using Admin SDK Directory API. The question you linked to was regarding the case where an admin explicitly disables API access. When they install and an app, we re-enable that setting and let them know.

Not sure about the 403s but that is an older API that is replaced by the Admin SDK.

查看更多
登录 后发表回答