Can someone please give me a example on how to obtain a computer's assigned JSS "Department" value for use in a Bash script (that runs as a Policy payload)?
For various logistical reasons, I don't want to query Active Directory for dept info (using /usr/bin/dscl, etc) - I'd rather get it from the JSS. API calls, perhaps?
