I have created a GP tool in python and decided to publish it as a GeoProcessing service in ArcGIS Server.
The GP Service permissions are set to: Public, available for everyone
This GP service receives a JSON string as Input, in it a credential to access the Geodatabase are set.
It is intended that the GP service creates a Geodatabase connection file, access a table (set with Editor Tracking capabilities) and modify a row.
It is expected the user name defined in the passed credentials appears in the Editor tracking field, instead appears ESRI_Anonymous
I created a user (my_user_server) and a role in ArcGIS Server, set the permisions of the GP Service to: Private, available only to selected users, and select the created role.
It is expected the user name defined in the passed credentials appears in the Editor tracking field, instead appears my_user_server
I found this documentation
It states that the behavior applies for Feature services. do not mention GP Services.
In my ideal world I would like to keep the GP service public, and have the Editor tracking field with the user name provided in the input JSON.
is that possible?