是否可以使用经销商帐户从经销商处获得GApps(所有域)的超级管理员

时间:2017-08-30 13:08:42

标签: google-admin-sdk google-directory-api gsuite

我有一个所有gapps客户的域名列表。我想只获得对所有域名拥有超级管理员权限的用户。我可以获取域名的所有用户并对其进行迭代并仅筛选出超级管理员。但这将是很多api电话。

还有另一种方式......

感谢。

1 个答案:

答案 0 :(得分:1)

Both information list of all domains and list of users under a domain are not possible is one API Call. You have to make a list of domains call then make each call for a domain and get the list of users as you have mentioned been doing. However, you can avoid getting all users and get only admin users instead. There is a parameter in API call as <div class="song"> <button class="start" id="1" name="Gentleman-GUE/01._T_Apposto.mp3" onclick="togglePlay(this.id, this.name)"></button> <button class="restart" onclick="toggleRestart()"></button> <a>T'Apposto</a> </div> where you can mention sed '/^[^-[:alnum:]]/d' file to get only super Admins.

But Google provides batch request to combine multiple API calls in one request which you can readily use to fulfill your purpose.