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

Autopopulate users details from login

Hi

 

I was wondering if its possible to autopopulate a field i,e Email for a user based on there login credentials?

 

So when they go to the app there details are preloaded on the form. This wouldnt be using a people picker field

 

I know this was done in Infopath but is it achievable in powerapps?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisR
Level 8

Re: Autopopulate users details from login

To get the email of the logged in user try:

 

User().Email

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-user

 

 

If more user information is needed, the Office365Users connector will need to be used.

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-office365-users

 

Example:

Office365Users.MyProfile().JobTitle

 

Hope it helps,

 

Chris - IW Mentor PowerApps Training

1 REPLY 1
ChrisR
Level 8

Re: Autopopulate users details from login

To get the email of the logged in user try:

 

User().Email

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-user

 

 

If more user information is needed, the Office365Users connector will need to be used.

 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-office365-users

 

Example:

Office365Users.MyProfile().JobTitle

 

Hope it helps,

 

Chris - IW Mentor PowerApps Training

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 493 members 4,843 guests
Please welcome our newest community members: