We helped substantially more users in our higher ed environment this semester with the shift to remote learning - as Peter points out, many new to ArcGIS and many interested in the more "lightweight" tools. The ArcGIS model of named-user licenses with privileges and licensing controlled at the user level, the group level, and sometimes attached to certain pieces of content has been difficult to get new users used to. Barriers to what you're allowed to do crop up unexpected places. For example today a faculty member asked for help making a collaborative StoryMap available for her students to contribute to during the break. She and her students had all self-authorized (via our new SSO setup) and created their accounts and a group for their class without any admin involvement earlier in the semester. But for this new collaboration, I had to 1) switch the faculty member into a new user type that permits ownership of a shared-update groups; 2) create a brand-new group for the class, since it's not possible to make a group shared-update once it's been live with users and content; 3) get all the students moved over to the new group; and 4) move the content they want to collaborate on to the new group. We're meeting at 4 pm the day before break to make sure we've got all this set up properly (sound familiar?) If I'm overlooking anything that would have made it easier, feel free to let me know.
... View more
Hello - I've been working on writing some scripts to help clean up our AGOL membership. This community has been great - I've been using Richard Stokes question (and notebook) to help get started: https://community.esri.com/message/713234-batch-deleting-users-based-on-a-role I'm running into some problems deleting a list of around 140 users based on a CSV file (our GIS group came up with a list of criteria and created and exported this list of usernames from AdminTools). It's a single column CSV with just usernames (the column heading is "Username"). As I understand it, I need get each user account, release their licenses, delete their content, and then delete the member. I seem to be doing something very basic incorrectly in my initial loop through the list of usernames to get each user account from AGOL. #Import modules from arcgis.gis import GIS import csv #Declare GIS gis = GIS("https://claremont.maps.arcgis.com", "adminName", "psswrd") #Make list of users to delete userDelete =  with open(r"4_22_2019InactiveUsers2.csv") as f_input: csv_input = csv.DictReader(f_input) for row in csv_input: users = row[gis.users.search("username:Username")] userDelete.append(users) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-28-d415de218329> in <module> 2 csv_input = csv . DictReader ( f_input ) 3 for row in csv_input : ----> 4 users = row [ gis . users . search ( "username:Username" ) ] 5 userDelete . append ( users ) 6 TypeError : unhashable type: 'list' Any suggestions appreciated - I'm new Thank you!
... View more