AnsweredAssumed Answered

Remove ArcGIS Server User through Python Script

Question asked by boyle.matt on Apr 1, 2015
Latest reply on Jun 4, 2015 by rnosek_azgfd

Is it possible to remove an ArcGIS Server user account through a python script?  I have a secured service that I'd like certain users to only have access to for a certain period of time and then remove their access.  Rather than trying to remember to remove their account, I was hoping it would be possible to create a python script which could be used with Task Scheduler to schedule a time for the script to run and remove the user.

 

With the REST admin having an API, I'm hoping this is possible, but am not really sure where to start.

 

Thanks in advance!

Outcomes