I have been asked to script populating /computers/name/MyComputer/subset/location/username/ +with the last person who logged in as a run-once API script. I was thinking I would grab from the JSS the +History >Computer Usage Logs> Username at last login field and use that to put to username but I cannot seem to find that info in the API. I also thought about capturing echo $3 at login (excluding some admin-side accounts) for a run-once to populate that field or grabbing the results of "last" and then putting it up to the JSS. I don't know...
Anyway, does any body have any idea on where History >Computer Usage Logs> Username at last login info is hanging out or an opinion on how I might go about scripting this?