Select to view content in your preferred language

User of Portal with Python

1342
3
06-15-2017 12:27 PM
RaymundoValencia_Martinez
Deactivated User

Hello, I need help with python in an geoprocessing service.

I´d like me know if exist some script to get the user name that use the tool when execute the geoprocessing service, I want save the name of the user in some vaiable with python.

I´m work with portal for ArcGIS

Thank you!

#developer tools

#python;

0 Kudos
3 Replies
JohnYaist1
Esri Contributor

Hi Raymundo -

We're investigating this functionality for a future release.  Currently there's no existing way in arcpy to accomplish this.  The username might be obtainable by parsing IIS or portal logs.

RaymundoValencia_Martinez
Deactivated User

Thank you John, I´m go to try with portal log.

0 Kudos
KristianSandvik_Førde
New Contributor

Hello

Has this functionality reached any released version of arcpy or in the near future roadmap? It would be a nice function to determine who is starting the tool from ArcGIS Server/Portal.

0 Kudos