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

Unlock this course with a free trial

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

Managing AGOL and Portal user accounts

Managing AGOL and Portal user accounts

- [Instructor] Do you have to occasionally clean up user accounts in ArcGIS online or portal? Manually resetting passwords and deleting content can be tedious. But what if you could automate it all with just a few lines of Python? I'll show you how to use the ArcGIS API for Python to reset a user's password, to delete their content, and even remove their account quickly. I'll also show you how to get to other management capabilities. Okay, so to manage users, groups, and contents, you have to get comfortable with three primary helper objects in the ArcGIS API, or these manager objects, right? So it's GIS.users, GIS.groups, and GIS.content. There are many other managers out here for data stores, roles, profiles, and even a marketplace manager for listing and unlisting marketplace apps. But I think if we go over a couple of these, you'll get the gist of how they work and be able to explore the help for the other managers. The thing to understand is that the GIS object is the door to get…

Contents