<?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 Re: ArcGIS Server 10.1: Get user information from secured MapService in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758722#M28785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Authentication or Authorization... which one are you trying to do with the "current user"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/0154/0154000004w2000000.htm"&gt;http://resources.arcgis.com/en/help/main/10.2/0154/0154000004w2000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Authentication is the process of verifying the identity of a user. In ArcGIS Server, this can be done by using either ArcGIS token-based authentication or web server authentication&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/0154/0154000005r6000000.htm"&gt;http://resources.arcgis.com/en/help/main/10.1/0154/0154000005r6000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ArcGIS Server provides a proprietary token-based authentication&amp;nbsp; mechanism where users can authenticate themselves by providing a token&amp;nbsp; instead of a user name and password. An ArcGIS token is a string of &lt;SPAN style="text-decoration:underline;"&gt; encrypted information that contains the user's name&lt;/SPAN&gt;, the token expiration time, and some proprietary information. To obtain a&amp;nbsp; token, a user provides a valid user name and password. ArcGIS Server&amp;nbsp; verifies the supplied credentials and issues a token. &lt;STRONG style="text-decoration: underline;"&gt;The user presents&amp;nbsp; this token whenever accessing a secured resource&lt;/STRONG&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user supplies the username/password to ArcGIS Sever to get a token...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you get a token, as long as it lives, you supply this to every request you make to the ArcGIS server.&amp;nbsp; If the username is encrypted, I hope we can't get the username from the token.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe that you need your web application to track this for you, if you want the current user.&amp;nbsp; How would you otherwise track the tokens that are active in your session?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Plus...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/41466"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/41466&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;For highest security, web-tier authentication is recommended.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Nov 2013 15:39:35 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2013-11-25T15:39:35Z</dc:date>
    <item>
      <title>ArcGIS Server 10.1: Get user information from secured MapService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758716#M28779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've secured a MapService for a dedicated user within ArcGIS Server 10.1, so a valid login is needed to access the MapServices' data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to obtain the user's name within the REST API and if yes, how can this be achieved?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 06:55:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758716#M28779</guid>
      <dc:creator>MU</dc:creator>
      <dc:date>2013-11-22T06:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.1: Get user information from secured MapService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758717#M28780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;using api administrator rest you can see permissions (roles) of service ( &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/02r3/02r3000001tv000000.htm"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/02r3/02r3000001tv000000.htm&lt;/A&gt;&lt;SPAN&gt; ) and then you see users in roles ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 08:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758717#M28780</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2013-11-22T08:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.1: Get user information from secured MapService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758718#M28781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your fast response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it also possible without the REST Admin API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My situation is the following: I'm within my business logic (REST operation) and need the current user.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 10:29:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758718#M28781</guid>
      <dc:creator>MU</dc:creator>
      <dc:date>2013-11-22T10:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.1: Get user information from secured MapService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758719#M28782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 11:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758719#M28782</guid>
      <dc:creator>MU</dc:creator>
      <dc:date>2013-11-25T11:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.1: Get user information from secured MapService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758720#M28783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;My situation is the following: I'm within my business logic (REST operation) and need the current user.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Wouldn't this be handled by your web server?&amp;nbsp; Getting the current user of the session?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 13:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758720#M28783</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-11-25T13:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.1: Get user information from secured MapService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758721#M28784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I'm using the users and roles from ArcGIS Server's built-in store, so the first login-level is already the ArcGIS Server and not any other web server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 14:52:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758721#M28784</guid>
      <dc:creator>MU</dc:creator>
      <dc:date>2013-11-25T14:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.1: Get user information from secured MapService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758722#M28785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Authentication or Authorization... which one are you trying to do with the "current user"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/0154/0154000004w2000000.htm"&gt;http://resources.arcgis.com/en/help/main/10.2/0154/0154000004w2000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Authentication is the process of verifying the identity of a user. In ArcGIS Server, this can be done by using either ArcGIS token-based authentication or web server authentication&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/0154/0154000005r6000000.htm"&gt;http://resources.arcgis.com/en/help/main/10.1/0154/0154000005r6000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ArcGIS Server provides a proprietary token-based authentication&amp;nbsp; mechanism where users can authenticate themselves by providing a token&amp;nbsp; instead of a user name and password. An ArcGIS token is a string of &lt;SPAN style="text-decoration:underline;"&gt; encrypted information that contains the user's name&lt;/SPAN&gt;, the token expiration time, and some proprietary information. To obtain a&amp;nbsp; token, a user provides a valid user name and password. ArcGIS Server&amp;nbsp; verifies the supplied credentials and issues a token. &lt;STRONG style="text-decoration: underline;"&gt;The user presents&amp;nbsp; this token whenever accessing a secured resource&lt;/STRONG&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user supplies the username/password to ArcGIS Sever to get a token...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you get a token, as long as it lives, you supply this to every request you make to the ArcGIS server.&amp;nbsp; If the username is encrypted, I hope we can't get the username from the token.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe that you need your web application to track this for you, if you want the current user.&amp;nbsp; How would you otherwise track the tokens that are active in your session?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Plus...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/41466"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/41466&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;For highest security, web-tier authentication is recommended.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 15:39:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758722#M28785</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-11-25T15:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.1: Get user information from secured MapService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758723#M28786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Plus...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's back up one level.&amp;nbsp; REST is a stateless protocol.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So when you make a request to a REST endpoint, it doesn't remember who you are when you make another request, even a second later, unless you have a valid token for that web service endpoint that is not expired.&amp;nbsp; And you have to supply that token upon every request you make...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want your application to remember who is currently using your application, then you have to control that at the web server tier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 16:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758723#M28786</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-11-25T16:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.1: Get user information from secured MapService</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758724#M28787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah okay, I understand. Thanks a lot for your detailed explanation!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 17:02:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-1-get-user-information-from/m-p/758724#M28787</guid>
      <dc:creator>MU</dc:creator>
      <dc:date>2013-11-25T17:02:42Z</dc:date>
    </item>
  </channel>
</rss>

