Notifications
Announcements
Dear Experts,
Is it possible to get only the user's first name of the function {x} bot.UserDisplayname ?
Gr. P
Turn on the authentication in Security, then the {x} bot.User.DisplayName & ID will be applicable. Hope this help.
Turn on the authentication in SecurityThen, bot.UserDesplayName & ID will be applicable.
Hey there @PeKi72,
It's definitely possible to just use the first name! What you'll want to do is have an action that goes into a flow that captures the bot.userID, then add the "Get User profile" action using that ID value as it's user value. You can then return the "Given Name" value to your PVA bot at the end of the flow, and have the bot reference that returned value as the name from then on.
You can reference this thread as well, which includes some visual references: https://powerusers.microsoft.com/t5/General/bot-UserDisplayName/td-p/736847
Thank you for using Microsoft Power Platform Communities!
Bryn Baker
Support Engineer
Microsoft Power Platform
If this post helps, then please consider accepting it as the solution to help other members find it more quickly!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 414
chiaraalina 130
S-Venkadesh 84 Moderator