How to get login user information in Canvas Apps easily
Follow my blog for more trending topics on Dynamics 365, Azure, C#, Power Portals and Power Platform. For training, Courses and consulting, call to us at +91 832 886 5778 I am working more for community to share skills in Dynamics 365 and Power Platform. Please support me by subscribing my YouTube Channel. My YouTube Channel link is this : https://www.youtube.com/user/sppmaestro
Power Apps is a very powerful way of designing less code and no code applications. Sometimes in the design of canvas app requires to display current login user information like Full Name, Email address and Images etc. So how can we fetch those data in our canvas app. Lets see.
Microsoft provides a PowerFX called as User(). By using User() method we can fetch details about the login user information.
Step 1: Display Login user Full name
open the canvas app and add a text label. go to the Text property of the label and provide the formula as User().FullName and run the app to test.
Step 2: Display Login user Email
open the canvas app and add a text label. go to the Text property of the label and provide the formula as User().Email and run the app to test.
Step 3: Display Login user Image
open the canvas app and add an image control. go to the Image property of the image control and provide the formula as User().Image and run the app to test.
Hope this helps.
Follow my blog for more trending topics on Dynamics 365, Azure, C#, Power Portals and Power Platform. For training, Courses and consulting, call to us at +91 832 886 5778 I am working more for community to share skills in Dynamics 365 and Power Platform. Please support me by subscribing my YouTube Channel. My YouTube Channel link is this : https://www.youtube.com/user/sppmaestro