we have arcgis server 10.6.1 with open rest services, with editor tracking enabled,how to set values for last_edited_user from javascript api.
once apply edits ,last_edited_user is set with value "esri_anonymous ".
How to set last_edited_user value with username & services are not secured.
It is coming across as `anonymous` because you don't have your service secured. This is how it is able to allow anyone to edit. If you wish to have your data display the name of the responsible editor, you should set it up with security enabled. Without the credentials, it has no way of knowing who the user is that is editing the data.