You do get some details of the logged in user in a Canvas Power App. Let’s look at what all is available –
User() function provides 3 pieces of information you can retrieve at this point in terms of logged in user.
User().Email to populate a Text field with the Email address of the logged in user.
User().FullName to fetch the logged in user’s Full Name and maybe, populate it in a Text/Label field as well
User().Image to be able to populate the Picture control with the logged in User’s Picture. Remember, user needs to add this in their respective Office 365 account in order to appear here
Now, whenever a logged in user comes across these controls which we set above, the User details will vary for each user respectively. Below is how it looks for me.
You can obviously use it as and where it suits you.
Here are some more Canvas Power Apps posts you might want to look at –
- Variables in Canvas Power Apps | Global and Context
- Implementing Exit app, Logout and Confirm Exit features in a Canvas Power App
- Get N:N records in a Canvas Power App using Common Data Service connector | Power Platform
- Adding a Canvas PowerApp to Teams
- Sending Image from Canvas PowerApps to SharePoint Document Library using Flows
Hope this was easy and helpful!