<?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 How to get username after authentication?? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317696#M7556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on an application where I am using the api identityManager to authenticate users stored in ArcGIS Server. I am trying to get the username after users are being authenticated, does anybody has tried to do this? I need to get somehow the authenticated user's username after being authenticated so I can do apply more functionalities to my application. I have so far looked into findCredential() and getCredential() with no luck. Any help will be appreciated..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25509[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jun 2013 15:11:38 GMT</pubDate>
    <dc:creator>KomanDiabate</dc:creator>
    <dc:date>2013-06-26T15:11:38Z</dc:date>
    <item>
      <title>How to get username after authentication??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317696#M7556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on an application where I am using the api identityManager to authenticate users stored in ArcGIS Server. I am trying to get the username after users are being authenticated, does anybody has tried to do this? I need to get somehow the authenticated user's username after being authenticated so I can do apply more functionalities to my application. I have so far looked into findCredential() and getCredential() with no luck. Any help will be appreciated..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25509[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 15:11:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317696#M7556</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-06-26T15:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get username after authentication??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317697#M7557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After the user signs in, you should be able to call "findCredential" to get the Credential which includes a "userId" property. This is not something I have tried I am just reading the API help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/IdentityManager.html"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/IdentityManager.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 16:21:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317697#M7557</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-06-26T16:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get username after authentication??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317698#M7558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also see FeatureLayer.userId&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/FeatureLayer.html#userId" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/FeatureLayer.html#userId&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 19:15:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317698#M7558</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2013-06-26T19:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get username after authentication??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317699#M7559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dasa: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so so much, featurelayer.userid works like a charm. Interesting place to hide the userid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I truly appreciate your help on this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 20:34:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317699#M7559</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-06-26T20:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get username after authentication??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317700#M7560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure what happened there, here you go&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/IdentityManager.html"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/IdentityManager.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 20:47:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317700#M7560</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-06-26T20:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get username after authentication??</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317701#M7561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Anthony for the link, I appreciate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Koman Diabate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 21:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-get-username-after-authentication/m-p/317701#M7561</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-06-26T21:09:46Z</dc:date>
    </item>
  </channel>
</rss>

