taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
714 stars 87 forks source link

Get all gmail delegations of an user? #249

Closed lucamanga closed 2 years ago

lucamanga commented 2 years ago

Hello, if I print my delegations, I have a list of 0 elements (with show or print delegates). I think there's some problem

taers232c commented 2 years ago

Go to Gmail/Settings/Accounts and Import/Grant access to your account What do you see?

lucamanga commented 2 years ago

"Mine" is only an example. If i do (mymail@mail.com is my email address)

gam user mymail@mail.com print delegations

it doesn't show my delegations is it right? Or I should use the GAMScripts3 "ShowDelegations.py" script?

taers232c commented 2 years ago

Send me a Meet/Zoom invitation.

show delegations displays uses to whom you have delegsted your mailbox.

https://github.com/taers232c/GAM-Scripts3/blob/master/ShowDelegators.py https://github.com/taers232c/GAM-Scripts3/blob/master/ShowDelegators.py This script shows users who have delegated their mailbox to you.

Ross

@.***

On Mar 4, 2022, at 11:12 AM, lucamanga @.***> wrote:

"Mine" is only an example. If i do @. @.> is my email address)

gam user @. @.> print delegations

it doesn't show my delegations is it right? Or I should use the GAMScripts3 "ShowDelegations.py" script?

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/249#issuecomment-1059441726, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL4SH56BUIMHP5AJVKLU6JOBDANCNFSM5P5GBGYQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.

NoSubstitute commented 2 years ago

Minor typo in explanation.

gam user user@mail show delegate lists who you have delegated your mailbox to. ShowDelegators script lists who have delegated their mailbox to you.

lucamanga commented 2 years ago

show delegations displays uses to whom you have delegsted your mailbox. https://github.com/taers232c/GAM-Scripts3/blob/master/ShowDelegators.py https://github.com/taers232c/GAM-Scripts3/blob/master/ShowDelegators.py This script shows users who have delegated their mailbox to you.

Thank you, this script solved my issue.