Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering ArcGIS Enterprise Administration

You're reading from   Mastering ArcGIS Enterprise Administration Install, configure, and manage ArcGIS Enterprise to publish, optimize, and secure GIS services

Arrow left icon
Product type Paperback
Published in Oct 2017
Publisher Packt
ISBN-13 9781788297493
Length 382 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Chad Cooper Chad Cooper
Author Profile Icon Chad Cooper
Chad Cooper
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. ArcGIS Enterprise Introduction and Installation FREE CHAPTER 2. Enterprise Geodatabase Administration 3. Publishing Content 4. ArcGIS Server Administration 5. Portal for ArcGIS Administration 6. Security 7. Scripting Administrative Tasks 8. The ArcGIS Python API 9. ArcGIS Enterprise Standards and Best Practices 10. Troubleshooting ArcGIS Enterprise Issues and Errors

Working with users and groups


We've covered working with services and items such as web maps, but you'll also need to manage users and groups as well. Examples we have utilized so far in this chapter have shown how the ArcGIS API for Python abstracts away much of the minutiae of connecting to Portal or ArcGIS Online and allows you to just get to work. User and group management is no different; we connect just as we have in previous examples to gain access.

Managing users

In Chapter 7, Scripting Administrative Tasks, we used PortalPy to pull user information out of our Portal. We can do the same thing with the ArcGIS API for Python, but in a modern, Pythonic fashion. Let's look at how we can easily pull user information from Portal:

    import collections 
    import time 
    import pandas as pd 
    from arcgis.gis import GIS 

After we've imported the libraries we will need, we create a connection to our GIS and then perform a search for users whose username does not begin with esri_. Note...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image