Years ago, before some of this information was accessible otherwise, we created a browser extension to log information about who's using our devices at login, screen unlock and periodically, including:
Local IP
Public IP
User Email
Device Name
Timestamp
With ChromeOS 138 , our extension no longer works, and we really don't want to have to recreate it if we don't have to. I'm not finding exactly what we need, either through GAM or the API's. The GAM command in this thread seems like it could almost work for us, but since the 'lastSync' timestamp is about policy sync rather than a user login event, I don't think that we could use it to map a user to a timestamp.
If I use 'listlimit 5', I can see that the lastSync timestamp is the same for each entry returned (5 different email addresses, all the same lastSync timestamp).
The information that we need is available in pieces, but not all together in a way that we can access it, or at least not that I've found so far. Is there a way for GAM to give us this information reliably with timestamps that correlate to the users? Or if not, any help with an API reference would be appreciated, but everything I've found so far lacks some of the information.
Thanks,
Tommy