<?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>How to get username on the basis of first name ?</title><link>https://community.appian.com/discussions/f/general/20924/how-to-get-username-on-the-basis-of-first-name</link><description>I want to retrieve user name on the basis of first name . How can I achieve this ?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81517?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 14:19:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:375a752d-39ca-4df2-9cb7-c38eaa07c5e9</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;No problem!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81516?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 14:15:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b818cd37-9aee-4ee9-a2d8-202c272ad1a6</guid><dc:creator>amangupta</dc:creator><description>&lt;p&gt;thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81515?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 14:06:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7093a71a-a855-43d9-b770-19c3d75b9c7c</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;a!localVariables(&lt;br /&gt; local!userList: getdistinctusers(cons!GLB_DEVELOPERS_GROUP),&lt;/p&gt;
&lt;p&gt;a!dropdownField(&lt;br /&gt; label: &amp;quot;Dropdown&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; placeholder: &amp;quot;--- Select a Value ---&amp;quot;,&lt;br /&gt; choiceLabels: a!forEach(&lt;br /&gt; local!userList,&lt;br /&gt; user(fv!item, &amp;quot;firstName&amp;quot;) &amp;amp; &amp;quot; &amp;quot; &amp;amp; user(fv!item, &amp;quot;lastName&amp;quot;)&lt;br /&gt; ),&lt;br /&gt; &lt;br /&gt; choiceValues: local!userList,&lt;br /&gt; saveInto: {},&lt;br /&gt; searchDisplay: &amp;quot;AUTO&amp;quot;,&lt;br /&gt; validations: {}&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81514?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 14:03:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dbce938b-7783-4f04-b024-280f8746c57c</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;Ok...the list is being generated from an Appian group?&amp;nbsp; If so, make the choiceLabels a list of &amp;quot;First Name and Last Name&amp;quot; and the choiceValues the list of usernames in the Group.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81513?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 14:00:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b22f3975-c534-4bef-b8a2-f8ca518743b9</guid><dc:creator>amangupta</dc:creator><description>&lt;p&gt;I have created a group for users and all first and last names are unique ...is there a way or not to retrieve user name from first name ? please tell me this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81512?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:59:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d1069a81-e680-46e6-ae1e-de2c4e7235d1</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;Unless First Name + Last Name is 100% unique, 100% of the time, you cannot ensure users are selecting the user they intend to select.&amp;nbsp;&amp;nbsp;Where are you getting the data for the array?&amp;nbsp; Are all Appian users in that table?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81511?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:55:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0bef3dc6-676b-4755-9dbe-f112e6b8ed90</guid><dc:creator>amangupta</dc:creator><description>&lt;p&gt;loggedinUser() will allow only the logged in user to be displayed. But in my case any user can be selected from dropdown&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81510?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:52:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d761730-3651-44ff-bb40-39594c962562</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;Can you use the &amp;quot;loggedinuser()&amp;quot; function so the user does not have to select their information?&amp;nbsp; This function will return the userid for the user that is logged into Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81509?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:51:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e418be3-eedd-41f0-a5de-f72f2ae1d194</guid><dc:creator>amangupta</dc:creator><description>&lt;p&gt;User will select their first and last name from drop-down based on which I have to extract user name and save it in my database. Since most of the users are not aware of username , we cannot show them in drop down. Can you please tell me a way to extract username using firstname, email or last name attributes ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81508?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:48:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d45c3730-2b93-472f-b915-5d764bcb7374</guid><dc:creator>amangupta</dc:creator><description>&lt;p&gt;yes that would be okay...I just need a way to get the username&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81507?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:48:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f35b051-1dec-4460-be76-6b2be1bfe340</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;How are you building your array for the dropdown?&amp;nbsp; Is it being queried from a table in a database?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81506?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:47:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ee2529d-4b6c-4caa-8a0c-c9d758ea6b39</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;Why can you not use a userpicker field?&amp;nbsp; What are you trying to accomplish with the drop down?&amp;nbsp; It is a plugin that has to be added to your environment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81505?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:44:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9c39f1ae-21fa-4d76-9be2-781c86a7f19e</guid><dc:creator>amangupta</dc:creator><description>&lt;p&gt;user search () is not a valid function in appian 21.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81503?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:39:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a19983-2597-42c6-beb0-bb5134d9e318</guid><dc:creator>amangupta</dc:creator><description>&lt;p&gt;I have defined an array to populate the list of users....but I want to extract the user name from first name since user(username,property) required username to be known which I dont know&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81502?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:35:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0418d368-9605-4503-8f3e-098f306ebf9f</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;How are you getting the list of first and last names to populate the dropdowns? I agree with other posters that having a user picker is a much easier way to set this up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81501?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:33:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f3376311-8e91-42dc-b922-048671757607</guid><dc:creator>sowrabhar0001</dc:creator><description>&lt;p&gt;Agree&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81500?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:32:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e488f9e-38e4-4580-a8a8-ab755831e21d</guid><dc:creator>sowrabhar0001</dc:creator><description>&lt;p&gt;Again, is it possible to reconsider the approach of displaying users in a dropdown, to displaying them in a user picker. The problem being, in Appian its possible to have multiple users with the same first name and last name combo, which means your search would result in multiple usernames, is that fine?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81499?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:32:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:95a923a6-2869-4a45-bd5d-ee2e86e99e2a</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;How are you getting the list of to populate the drop down?&amp;nbsp; There is a plugin that can be used to search users by properties, but if more than one user is returned with the same first name and last name, that would be an issue because you cannot ensure you are selecting the correct user.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This plugin,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="/b/appmarket/posts/personalization-utilities"&gt;https://community.appian.com/b/appmarket/posts/personalization-utilities,&lt;/a&gt;&amp;nbsp;will allow you to search users by various fields.&lt;br /&gt;&lt;br /&gt;usersearch(&lt;br /&gt;&amp;nbsp; {&amp;quot;firstName&amp;quot;},&lt;br /&gt;&amp;nbsp; {0},&lt;br /&gt;&amp;nbsp; {&amp;quot;Larry&amp;quot;}&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81498?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:25:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:87be3518-eab1-40d1-90fa-7303635032ba</guid><dc:creator>amangupta</dc:creator><description>&lt;p&gt;I have a drop down field from where I get user first and last name. From these 2 fields I need to retrieve username. How can I retrieve username ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get username on the basis of first name ?</title><link>https://community.appian.com/thread/81497?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:23:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e33faa4-8a3d-4a8d-bd08-e6480c12d79f</guid><dc:creator>sowrabhar0001</dc:creator><description>&lt;p&gt;Hi Aman, There could be multiple people with the same first name, so the search would return multiple users, which wouldnt be the right thing to do. What is the usecase? You could use a user picker and people could type in to get the name of the user from the name&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>