Book Image

Mastering ArcGIS Enterprise Administration

By : Chad Cooper
Book Image

Mastering ArcGIS Enterprise Administration

By: Chad Cooper

Overview of this book

ArcGIS Enterprise, the next evolution of the ArcGIS Server product line, is a full-featured mapping and analytics platform. It includes a powerful GIS web services server and a dedicated Web GIS infrastructure for organizing and sharing your work. You will learn how to first install ArcGIS Enterprise to then plan, design, and finally publish and consume GIS services. You will install and configure an Enterprise geodatabase and learn how to administer ArcGIS Server, Portal, and Data Store through user interfaces, the REST API, and Python scripts. This book starts off by explaining how ArcGIS Enterprise 10.5.1 is different from earlier versions of ArcGIS Server and covers the installation of all the components required for ArcGIS Enterprise. We then move on to geodatabase administration and content publication, where you will learn how to use ArcGIS Server Manager to view the server logs, stop and start services, publish services, define users and roles for security, and perform other administrative tasks. You will also learn how to apply security mechanisms on ArcGIS Enterprise and safely expose services to the public in a secure manner. Finally, you’ll use the RESTful administrator API to automate server management tasks using the Python scripting language. You’ll learn all the best practices and troubleshooting methods to streamline the management of all the interconnected parts of ArcGIS Enterprise.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

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...