Is there a way to to create a local user account based on the location data of the computer in jss?
I was hoping I would be able to use a create account policy and use the payload variables $USERNAME and $REALNAME in the appropriate fields, but these only work in configuration profiles.
Here's the situation I'm facing: We've got roughly 120 macbooks getting hand out to students as 1to1 devices. The students in question range in age from 8 - 10 and we'd like to avoid having to go through the setup assistant with each class. The local user account is the only aspect of the device that would be unique for each student and is the only part of the setup assistant would need to use.
I was thinking it would be easier to have account created before we give the device to the student and rather than manually create the account on each computer, just assign the computer to each student in jss and then have the account automatically created with the correct name based on this data via a policy/script etc.
Is there anyway to do this?
Thanks