Possible to show delegation rights assigned for a user

7,521 views
Skip to first unread message

Allen Schmidt

unread,
Jul 27, 2015, 12:53:16 PM7/27/15
to Google Apps Manager
I know I can see if a user's account has been granted delegate access to someone else....
But what about seeing who has been given access to several other's accounts?

gam user USERX show delegates

That shows who has been given rights to USERX's account but what about if  boss has delegate access to all 5 of his workers. Is there a command that shows all 5 accounts??

gam user BOSSX show delegated  // That is invalid 


Thanks!

Ross Scroggs

unread,
Jul 29, 2015, 10:46:18 AM7/29/15
to google-ap...@googlegroups.com
There is no API call that GAM can use to get the data you want.
You can get what you want indirectly/expensively: gam all users show delegates csv
This produces a three column CSV file (with no headers): Delegator, Delegatee, Status
For all BOSSX in the second column, USERX is in the first column.
You can cut down the expense by narrowing your search.
gam group sales show delegates csv
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e4c117c6-ac89-476b-9691-5a14b40cef08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Allen Schmidt

unread,
Jul 29, 2015, 11:01:27 AM7/29/15
to google-ap...@googlegroups.com
Excellent! Only a few hundred users so not expensive at all.

Thanks!


Allen Schmidt
Systems Administrator
Free Lance-Star Publishing, LLC
616 Amelia Street
Fredericksburg, VA  22401


Message has been deleted

Ross Scroggs

unread,
Dec 1, 2017, 3:37:16 PM12/1/17
to google-ap...@googlegroups.com
Richard,

You're sure that some user in /Staff/AX has a delegate?
If you have such a user, do:
gam user us...@domain.com show delegates
gam user us...@domain.com print delegates
What do you get?

Ross

On Fri, Dec 1, 2017 at 12:18 PM, Richard Humphrey <ri...@afterhourstech.ca> wrote:
Is there any way to get a csv of users that have delegated mailboxes and what user those delegated boxes are?

I tried 
gam ou_and_children "/Staff/AX" print delegates >delegates.csv

It creates the file with no content. It also shows on the screen account names

Last one for today.. Thanks

--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/966173f6-8558-4d70-9b5a-9fa9a2449125%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages