last login command

1,401 views
Skip to first unread message

JacobZ

unread,
Feb 7, 2012, 1:05:59 PM2/7/12
to google-ap...@googlegroups.com
I'm having trouble locating all the wonderful commands that GAM can do.  Specifically looking for a last login. 

Is just knocking through the wiki the best way,? Or is there a master list out there so I can better help myself next time I want to know if its GAM possible

Looking to learn how to fish on this one

Jay Lee

unread,
Feb 7, 2012, 1:10:56 PM2/7/12
to google-ap...@googlegroups.com
Hi Jacob,

  There's no API call to pull just the last login of a user however that field is a part of the daily accounts report that you can pull:

http://code.google.com/p/google-apps-manager/wiki/ExamplesCSV#Print_Reports

as far as the best way to learn about the various GAM commands, the Wiki is the best source for that info. Ok, well, maybe the source is the best source but only if you know Python :-) It's worth reading through the various Wiki pages to give yourself a better idea of what GAM can do so that you have an idea of it's features as you encounter use cases.

Jay

Michael Harris

unread,
Feb 8, 2012, 11:46:26 AM2/8/12
to google-ap...@googlegroups.com
The Wiki is best for GAM commands definitely, and GAM is a great tool, but sometimes there is more than one path to paradise: 
The Google Apps control panel was updated late last year and now has a reports tab that includes the ability to export a list of users with their last login times. Alternatively, You can always just search the user in the control panel and see their last login time in the User Information tab. 

Justin Dowe

unread,
Feb 8, 2012, 12:51:22 PM2/8/12
to google-ap...@googlegroups.com
Thanks I did see that.    Any tips on how to filter the output of a the report.  I'm getting slightly confused, python, powershell outputting to a CSV     
If not i'll keep trucking away at this.    GAM is a great tool, thank you
Reply all
Reply to author
Forward
0 new messages