<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Get user from their email</title><link>https://community.appian.com/discussions/f/general/11203/get-user-from-their-email</link><description>If I have a user&amp;#39;s email address, how can I get the actual user? I seem to remember a function that could accomplish this but can&amp;#39;t find it now.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Get user from their email</title><link>https://community.appian.com/thread/49303?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2017 06:08:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fffe94ff-b9b8-491c-80a3-2cbbaf47cc1b</guid><dc:creator>anuyag</dc:creator><description>Hi Joseph,We don’t have any built in function to achieve this purpose.&lt;br /&gt;
But you can achieve this by using getallusers() which returns the all the active users and then passing those username to user() you can get all the details of the users.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get user from their email</title><link>https://community.appian.com/thread/49289?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 16:28:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc582318-9e0e-4c01-b282-0d98addac916</guid><dc:creator>sureshg57</dc:creator><description>&lt;p&gt;You can use the plugin&amp;nbsp;&lt;a href="https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhetE6R7wweiOH6ioZIxyCYszpaPoTE8_/view/summary" target="_blank"&gt; Personalization Utilities&lt;/a&gt;&amp;nbsp; and either userSearch function or getusersby function, I do prefer to use getusersby function.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;usersearch({&amp;quot;email&amp;quot;},{1},{ri!email})

getusersby(ri!email,3,1)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Suresh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get user from their email</title><link>https://community.appian.com/thread/49279?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 13:57:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2370ab15-1c8b-45b5-9310-825c794f5efc</guid><dc:creator>lokeshk</dc:creator><description>this function will return userId but if you have multiple users with same emailId, then it returns list of users&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get user from their email</title><link>https://community.appian.com/thread/49211?ContentTypeID=1</link><pubDate>Mon, 09 Oct 2017 05:23:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1bbfd859-9f13-4e92-b826-279c64f3c84c</guid><dc:creator>Rama Thummala</dc:creator><description>&lt;p&gt;&amp;nbsp;, You can use the&amp;nbsp;&lt;a href="https://forum.appian.com/suite/sites/shared-components/page/shared-components/record/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhetE6R7wweiOH6ioZIxyCYszpaPoTE8_/view/summary"&gt;Personalization Utilities&lt;/a&gt;&amp;nbsp;shared component to search users by properties.&lt;/p&gt;
&lt;p&gt;Under this component please use the usersearch() to get user by email address.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;font-family:arial, helvetica, sans-serif;"&gt;Code snippet&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;font-family:arial, helvetica, sans-serif;"&gt;&lt;pre class="ui-code" data-mode="xml"&gt;usersearch(
  property:{&amp;quot;email&amp;quot;},
  operator:{1},
  value:{&amp;quot;&amp;lt;email id to search&amp;gt;&amp;quot;}
)&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;font-family:arial, helvetica, sans-serif;"&gt;Hope it will help you..!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get user from their email</title><link>https://community.appian.com/thread/49175?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2017 15:19:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1caeefc9-145d-4faf-b125-dda48063fc39</guid><dc:creator>josepitt</dc:creator><description>Thanks Harsha, I&amp;#39;ll give that approach a try.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get user from their email</title><link>https://community.appian.com/thread/49174?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2017 15:17:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9d17f32f-dbc5-4686-ac35-0f2710dd9f6d</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Hi Joseph, we don&amp;#39;t have any built in function to serve this purpose. But you can have a look at an approach given by&amp;nbsp;&lt;a href="/members/arunkumarc"&gt;arunkumarc&lt;/a&gt;&amp;nbsp;&amp;nbsp;at the&amp;nbsp;&lt;a href="/discussions/f/general/8042/get-user-details-from-email-address"&gt;link&lt;/a&gt;. Hope it helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>