cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

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
Highlighted
Resolver III
Resolver III

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

View solution in original post

1 REPLY 1
Highlighted
Resolver III
Resolver III

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

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (7,264)