From the course: Python Scripting Using the ArcGIS API for Python

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Understanding helper classes: Working with content and users

Understanding helper classes: Working with content and users

From the course: Python Scripting Using the ArcGIS API for Python

Understanding helper classes: Working with content and users

- [Instructor] Let's walk through a little bit of code to look at some of the objects in the Arc GIS API, along with their properties and methods. There are some special properties that return these things, called helper objects. It's really important to understand this concept of helper objects to get good with the Arc GIS API. I have the Arc GIS API reference open here. The Arc GIS API modules consist of classes of objects, like the GIS class and the item class. And these classes of objects, of course have properties and methods, and as is common in Python, some of these properties return objects themselves, which in turn have their own properties and methods. In the Arc GIS API, there's some very important examples of this that are called helper classes. These objects are created automatically when you create the parent object. For example, when I create a GIS object, the GIS.users property returns a user manager object. And I can use that to create and delete users, change roles…

Contents