Notifications
Announcements
Hi. Can anyone tell me what is the way of getting the details (fullname,email,etc) of the current logged in user using the powerapps component framework. Thank you.
Hi @ThareLyn :
User's info is available under context.userSettings.
I think this link will help you a lot:
Context
UserSettings
In addition,you can also refer to this post:
How to display the current user information by code?
Best Regards,
Bof
you can get user name and userid and security roles of the user from context.userSettings.
context.userSettings.userName
However, if you need other user attributes, you may need to use context.webapi.retrieve to query uer entity with userid
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268