Show alias

107 views
Skip to first unread message

Fajar

unread,
Nov 26, 2014, 10:03:57 PM11/26/14
to google-ap...@googlegroups.com
I am using the following command very often:
gam user abc123 show sendas
to get the sendas address(es) of user abc123. A sendas address may or may not be default.

Is there any equivalent command to show the aliases of a user? I'd imagine something like this
gam user abc123 show alias

Ok. My use case is this: I want to make a csv file with the following columns:
Username   defaultSendas    alias1   alias2   alias3   isTheSendasAlsoOneOfHisAliases

A user may have 1, or 2, or 3 aliases.

Graham Ingleby

unread,
Nov 27, 2014, 7:08:57 AM11/27/14
to GAM group


 Graham Ingleby | Cloud Computing Consultant | 01344 203395 | ging...@ancoris.com
  

--
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/e42d5cdb-7623-49a4-8161-918a8062f571%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. Ancoris reserves the right to monitor all e-mail communications through its networks. Ancoris Limited, Registered in England Number: 04830784, Registered address: 5a Frascati Way, Maidenhead, Berkshire SL6 4UY. Trading Address: Lily Hill House, Lily Hill Road, Bracknell, Berkshire RG12 2SJ


Karla Borecky

unread,
Jun 3, 2015, 3:35:14 PM6/3/15
to google-ap...@googlegroups.com
I had a similar problem. I wanted a list of all aliases, though, and the info command isn't helpful for that. But I found this:

  gam print aliases

I redirected output to a file:

gam print aliases > aliases.csv

Hope this helps anyone else looking for this list (since you can't get it from a google report of all users.)
Reply all
Reply to author
Forward
0 new messages