I want to retrieve user name on the basis of first name . How can I achieve this ?
Discussion posts and replies are publicly visible
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
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 ?
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?
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.
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