I was working on a project for a customer workflow and came up a with a
simple way to populate the Username field in a OS X devices record
Username and Location field. This one liner can be run as a script
during a policy, or configured in the "Execu...