<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Esri_Anonymous Feature Service in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/esri-anonymous-feature-service/m-p/777960#M962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with a Features Service in ArcGIS Pro.&amp;nbsp; This Feature service is reached through our proxy which does the authentication.&amp;nbsp; The geodatabase behind the Feature Service is used by our current system which uses the old replication mode.&amp;nbsp; So I don't think I cant disable editor tracking on the tables themselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My proble is, whenever I make changes to a field using my features service code, both the CreatedBy and ModifiedBy show up as&amp;nbsp;Esri_Anonymous.&amp;nbsp; I have tried to explicitly set these to the USERNAME, but it always goes back to&amp;nbsp;Esri_Anonymous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;//This will set the username, but will always revert to Esri_Anonymous&lt;/SPAN&gt;
Inspector&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"UpdatedBy"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"UserNAME"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I go about setting the UpdatedBy and CreatedBy fields for my Feature Service in my ArcGIS Pro SDK code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:45:17 GMT</pubDate>
    <dc:creator>MKa</dc:creator>
    <dc:date>2021-12-12T08:45:17Z</dc:date>
    <item>
      <title>Esri_Anonymous Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/esri-anonymous-feature-service/m-p/777960#M962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with a Features Service in ArcGIS Pro.&amp;nbsp; This Feature service is reached through our proxy which does the authentication.&amp;nbsp; The geodatabase behind the Feature Service is used by our current system which uses the old replication mode.&amp;nbsp; So I don't think I cant disable editor tracking on the tables themselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My proble is, whenever I make changes to a field using my features service code, both the CreatedBy and ModifiedBy show up as&amp;nbsp;Esri_Anonymous.&amp;nbsp; I have tried to explicitly set these to the USERNAME, but it always goes back to&amp;nbsp;Esri_Anonymous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;//This will set the username, but will always revert to Esri_Anonymous&lt;/SPAN&gt;
Inspector&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"UpdatedBy"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"UserNAME"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I go about setting the UpdatedBy and CreatedBy fields for my Feature Service in my ArcGIS Pro SDK code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:45:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/esri-anonymous-feature-service/m-p/777960#M962</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2021-12-12T08:45:17Z</dc:date>
    </item>
  </channel>
</rss>

