0

We've been using Google Apps for Edu in our University for some time now and we have multiple domain setups. There's a primary domain (uniben.edu e.g john.smith@uniben.edu) and other domains for students (scott.tigger@law.uniben.edu, john.smith@agric.uniben.edu). However, when I try to obtain all users using UserManager.getAllUsers(); it only returns accounts under the primary uniben.edu domain, leaving out accounts created / managed under the other domains.

Using Google App Script, how can I retrieve these other domains and get their users as well. I want to be able to inspect accounts across all our domains. Thanks in advance.

4

1 回答 1

0

没有内置方法可以访问来自另一个域的用户。我不确定它是否会起作用,但您可能会在每个域中创建一个脚本,该脚本返回该域的用户,然后将这些脚本作为库包含在主脚本中。

于 2012-08-14T21:29:40.500 回答