<?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>idea ArcGIS Server - Retrieve user info from the token in a protected geopressing service in ArcGIS Enterprise Ideas</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-retrieve-user-info-from-the-token-in/idi-p/951952</link>
    <description>&lt;P&gt;Let say you have a geoprocessing service made of a python script. This GP service is protected with token. It could be very useful to be able to retrieve the info of the user who made a request to this service. (username, fullname, role, email, etc...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the token security, you can disable or enable requests to a service, but in the GP service, different action could be made depending of the user who made the request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance, imagine a GP service that allow editing some fields values in a table. It would be nice if we could allow edits on perticular rows depending of the user. Without the information about the user, everyone who has a token can edit all the rows.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2024 12:06:48 GMT</pubDate>
    <dc:creator>MaximeDemers</dc:creator>
    <dc:date>2024-08-21T12:06:48Z</dc:date>
    <item>
      <title>ArcGIS Server - Retrieve user info from the token in a protected geopressing service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-retrieve-user-info-from-the-token-in/idi-p/951952</link>
      <description>&lt;P&gt;Let say you have a geoprocessing service made of a python script. This GP service is protected with token. It could be very useful to be able to retrieve the info of the user who made a request to this service. (username, fullname, role, email, etc...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the token security, you can disable or enable requests to a service, but in the GP service, different action could be made depending of the user who made the request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance, imagine a GP service that allow editing some fields values in a table. It would be nice if we could allow edits on perticular rows depending of the user. Without the information about the user, everyone who has a token can edit all the rows.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 12:06:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-retrieve-user-info-from-the-token-in/idi-p/951952</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2024-08-21T12:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server - Retrieve user info from the token in a protected geopressing service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-retrieve-user-info-from-the-token-in/idc-p/951953#M1210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User information can be determined from the token using "arcgis/rest/self" API as shown below:&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;servername&amp;gt;:6443/arcgis/rest/self?f=pjson&amp;amp;token=&amp;lt;token&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 08:12:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-retrieve-user-info-from-the-token-in/idc-p/951953#M1210</guid>
      <dc:creator>Ranga_Tolapi</dc:creator>
      <dc:date>2016-09-22T08:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server - Retrieve user info from the token in a protected geopressing service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-retrieve-user-info-from-the-token-in/idc-p/951954#M1211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much! I have ask in many forums and look in the documentation and I have never found that information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know, in reverse, if it's possible to retrieve the token information from a username? For instance, get the list of active tokens for a perticular user or just knowing if a token is active for a user or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 12:04:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-ideas/arcgis-server-retrieve-user-info-from-the-token-in/idc-p/951954#M1211</guid>
      <dc:creator>MaximeDemers</dc:creator>
      <dc:date>2016-09-22T12:04:35Z</dc:date>
    </item>
  </channel>
</rss>

