-
Couldn't load subscription status.
- Fork 17
Working with Record Classes
James Reynolds edited this page Jan 3, 2023
·
4 revisions
This is old documentation and a lot has changed since it was written! There is a lot more to add here.
Here is an example of how to output all the categories from your Jamf Pro server:
from jamf.category import Categories
allcategories = Categories()
allcategories.names()
allcategories.ids()
allcategories.categoryWithName("Utilities")
allcategories.categoryWithId(141)
for item in allcategories:
repr(item)
category = Categories().find("Utilities")
repr(category)
category = Categories().find(141)
repr(category)