Get Current User and parse to field
Is there a way to get the current user who is editing a feature class and parse this into the "editor tracking" fields?
-
This is standard ArcGIS server 10.1 + funktion.
0 -
Care to elaborate?
From my understanding, it only works when edits are made with another ArcGIS product, like in ArcMap.0 -
It does work outside of ArcMap, but it only produces useful user names when using 'Web-tier' authentication, ie: Windows users passed through to AGS via IIS and the Web Adaptor.
When using this setup ArcGIS Server will know and be able to insert the name of the current Windows user into the field. If not using this setup, ArcGIS Server will still insert a user name, but it will be the name in the stored credentials used to initially connect to the service (ie: the name of the administrator who created the site). Usually this will not be what is wanted.
0 -
Exactly... That's my question.
I can use GetCurrentUser to get the username of the person accessing geocortex through our protected site (not windows authentication), but I want this to be reflected into a field when edits are made.
I know how I would do this from a pythonic standpoint but using workflow designer has thrown me for a loop.0 -
Would there be a way to create a custom editor workflow? Such that it allows edits to be made on a certain featureclass, gets the current user, geometry/fieldchanges/edits/etc -then if that user has made edits then it will parse to the "editor user" field?
0 -
Hi Lauren
Did you ever resolve this issue? We're in the same situation. We know the username (and password) in Geocortex via Active Directory, but are unclear on the easiest way to pass this through to the Geodatabase. We don't need to send passwords, but just the username. Migrating to web tier authentication and the Web Adaptor seems like overkill just to pass a username into an attribute field. Hopefully there is an easier way...
Thanks, Gavin0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare