Select to view content in your preferred language

How to find Level 1 users in Portal using ArcGIS API for Python

02-20-2018 10:14 AM
Occasional Contributor III

I want to write a script where I can find and delete  all level 1 users  that have not been active in 90 days in Portal.  What is the method in the ArcGIS API for Python to find license level of users?

Tags (1)
0 Kudos
1 Reply
by Anonymous User
Not applicable

You could do something like:

gis = arcgis.gis.GIS(org, username, password)

users =

for user in users:


    # do_something()