List all user profiles

310 views
Skip to first unread message

Richard Gilbert

unread,
Sep 29, 2014, 12:55:13 PM9/29/14
to google-ap...@googlegroups.com
Hi,

I use the Google Apps Profiles API to list all user profiles on a daily basis, and to update any that have changed (department or phone number).  I note that this API is already deprecated and its use will cease in April 2015.  I can already make any necessary profile updates using GAM 3.x, but is there a way to generate the list of all user profiles with GAM?  Otherwise, it would seem that I will need to write my own profile listing program using the Admin SDK Directory API, which is something which I would like to avoid having to do; I would prefer to be able to use GAM for all my Google Apps management.  Are other people managing user profiles in a similar way?

Thank you very much.

Richard

Jay Lee

unread,
Sep 29, 2014, 12:56:29 PM9/29/14
to google-ap...@googlegroups.com
Try:

gam print users allfields custom all

that should print out all user rich profile details.

--
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/78994265-1218-45f3-9360-bfbaa3cbd661%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Josef Fortier

unread,
Sep 29, 2014, 4:05:20 PM9/29/14
to google-ap...@googlegroups.com
Will this report phone number(s)?

gam print users allfields 

works for me, but doesn't print phone numbers

Adding "custom all" or any combination get's me the usage prompt.

(gam 3.21)

Jay Lee

unread,
Sep 29, 2014, 4:05:58 PM9/29/14
to google-ap...@googlegroups.com
Upgrade.

--
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.

Josef Fortier

unread,
Sep 29, 2014, 4:42:13 PM9/29/14
to google-ap...@googlegroups.com
Thanks!

I hadn't realized there was an update. Your timing is amazing, as I was just asked about directory phone numbers

And, for the record, it works!
Reply all
Reply to author
Forward
0 new messages