01-27-2022 11:17 AM - edited 01-27-2022 11:17 AM
Is there a way to get the user's data that is in Jamf Pro system from Terminal?
I have a script that writes into the System.log and has the host name but they also want the user's name (which I have) and Dept. (which I need) and possible other fields
Solved! Go to Solution.
Posted on 01-27-2022 12:26 PM
Shameless pug.
How to collect user information and apply it throughout Jamf Pro | JNUC 2021
Around the 22:50 mark.
Posted on 01-27-2022 11:41 AM
One way to do it is an API call to get that information. First need to setup an API view-only account. In the script querry for the computer from the computer's serial number. Then lookup the department from JAMF.
Posted on 01-27-2022 11:46 AM
I'm very new to API (haven't done one yet) so how would I do this?
Posted on 01-27-2022 12:26 PM
Shameless pug.
How to collect user information and apply it throughout Jamf Pro | JNUC 2021
Around the 22:50 mark.
Posted on 01-27-2022 01:31 PM
Understand now. Thanks @talkingmoose and @tculkin