cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ifti
Level: Powered On

Have the option to retrieve first and last name of a user via User()

Can we have the ability to select a user's first and last name instead of gettng full name?

 

I need this for the form that I use in SharePoint which can get the data and fill it automatically but not via the app.

 

The app can only get the logged in user's full user name via User().FullName. Options like "First name", "Last name" etc. would be awesome to have. 

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff sarafankit
PowerApps Staff

Re: Have the option to retrieve first and last name of a user via User()

I think you can achieve this using the Office 365 Users connection.

 

Office365Users.MyProfile().GivenName

Office365Users.MyProfile().Surname

View solution in original post

2 REPLIES 2
PowerApps Staff sarafankit
PowerApps Staff

Re: Have the option to retrieve first and last name of a user via User()

I think you can achieve this using the Office 365 Users connection.

 

Office365Users.MyProfile().GivenName

Office365Users.MyProfile().Surname

View solution in original post

Highlighted
ifti
Level: Powered On

Re: Have the option to retrieve first and last name of a user via User()

You're a champ and you know it!

 

Thanks heaps 🙂

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 403 members 5,414 guests
Please welcome our newest community members: