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.
Using the Directory API, you can retrieve a user's admin status,
isAdmin
(super admin) andisDelegatedAdmin
(assigned an Admin role). Unfortunately, these are both boolean responses and, AFAIK, you cannot pull the specific role details.