Before I had JAMF in production, my IT team used ARD fields to locate/identify Macs. Generally we used 2 ARD fields to display the user and department that the Mac was assigned to. Made sorting ARD lists easy, etc.
I would like to automate the process of populating ARD fields based on the what user/dept the Mac is assigned to in the JSS. If a owner name or dept changes in the JSS, it wil be reflected in the ARD fields when the policy runs. This can happen at login, check-in, or scheduled once a day. Doesnt matter as long as it gets synced at some point on a reguar basis.
I have tried to remind our desktop techs to set the ARD fields manually at imaging time (in Casper Imaging), but this step is often forgotten, or the ARD data becomes stale over time as employees come and go.
Setting the ARD fields manually via a script is easy, its keep the fields in sync with the JSS thats the challenging part.
Getting the current console user would be easy to drop into an ARD field, but it wouldnt always be accurate because sometimes the current user is not the owner/primary user, so I cant rely on it. I really need to leverage the JSS's user/dept data because it is what I consider to be the canonical "truth".
