Dynamically Assign a Device based on logged in user UPN

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 05-21-2019 11:44 AM
Is there a way to dynamically assign a device based on the current logged in user for use with Apple Classroom for Student mac or for any purpose thereof using the API?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 05-21-2019 12:02 PM
You don't even need to use the API.
Decide how you want to grab the user to assign it to ($Username in the below command) and run:
/usr/local/jamf/bin/jamf recon -endUsername $Username

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 05-21-2019 01:00 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 05-22-2019 12:39 PM
Nice! good to know, will test and report back. Thank you both!
