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

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (5,096)