Is there an google (REST) API to list the Admin Roles in a Google Apps account?

161 views Asked by At

I can view the Admin roles and the users is each admin role in my Google Apps account from the Admin Console. The default admin roles being:

  • Super Admin
  • Group Admin
  • Services Admin

I wanted to know if i could programmatically list all the Admin Groups and list all the users in each Admin Group.

1

There are 1 answers

0
miketreacy On BEST ANSWER

Using the Directory API, you can retrieve a user's admin status, isAdmin (super admin) and isDelegatedAdmin (assigned an Admin role). Unfortunately, these are both boolean responses and, AFAIK, you cannot pull the specific role details.