<?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: GetUser Arcade function not reading username correctly in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/getuser-arcade-function-not-reading-username/m-p/1578822#M16178</link>
    <description>&lt;P&gt;Still not sure why that happens but I found a work around by using Replace(). Our portal user accounts are firstname.lastname@&lt;EM&gt;PortalDomain.&lt;/EM&gt; And our emails are &lt;A href="mailto:firstname.lastname@emailDomain" target="_blank"&gt;firstname.lastname@emailDomain&lt;/A&gt;. Since the two formats are the same except that last part, I am able to replace portal domain with email domain to get the emails.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2025 19:55:30 GMT</pubDate>
    <dc:creator>MargoHuang</dc:creator>
    <dc:date>2025-01-24T19:55:30Z</dc:date>
    <item>
      <title>GetUser Arcade function not reading username correctly</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/getuser-arcade-function-not-reading-username/m-p/1509365#M15450</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to return user email by passing user name into GetUser function in portal. This is the function I am trying to use -&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#getuser" target="_blank"&gt;https://developers.arcgis.com/arcade/function-reference/portal_functions/#getuser&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am testing my Arcade function in ArcGIS Workflow Manager. Most of our user names contain character '@', when I try &lt;STRONG&gt;GetUser($currentPortal,'firstname.lastname@domain')['email']&lt;/STRONG&gt;, it returns the arcade function back to me. When I try &lt;STRONG&gt;GetUser($currentPortal,'firstname.lastname')['email']&lt;/STRONG&gt;&amp;nbsp;for users who don't have the domain name in their username, it returns the desired email address. I didn't find any information related to '@' being a special character in Arcade function. Does anyone know what might be causing this and how to fix it?&lt;/P&gt;&lt;P&gt;I am using portal admin account, so I do have the correct privilege to access emails.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Margo&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 15:56:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/getuser-arcade-function-not-reading-username/m-p/1509365#M15450</guid>
      <dc:creator>MargoHuang</dc:creator>
      <dc:date>2024-07-24T15:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: GetUser Arcade function not reading username correctly</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/getuser-arcade-function-not-reading-username/m-p/1578822#M16178</link>
      <description>&lt;P&gt;Still not sure why that happens but I found a work around by using Replace(). Our portal user accounts are firstname.lastname@&lt;EM&gt;PortalDomain.&lt;/EM&gt; And our emails are &lt;A href="mailto:firstname.lastname@emailDomain" target="_blank"&gt;firstname.lastname@emailDomain&lt;/A&gt;. Since the two formats are the same except that last part, I am able to replace portal domain with email domain to get the emails.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 19:55:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/getuser-arcade-function-not-reading-username/m-p/1578822#M16178</guid>
      <dc:creator>MargoHuang</dc:creator>
      <dc:date>2025-01-24T19:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: GetUser Arcade function not reading username correctly</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/getuser-arcade-function-not-reading-username/m-p/1619388#M16563</link>
      <description>&lt;P&gt;Wanted to post an update. We had the issue when we were on Enterprise 10.9.1. Since our migration to 11.3, this seems to have been resolved.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 18:45:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/getuser-arcade-function-not-reading-username/m-p/1619388#M16563</guid>
      <dc:creator>MargoHuang</dc:creator>
      <dc:date>2025-05-29T18:45:15Z</dc:date>
    </item>
  </channel>
</rss>

