web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get detail of current ...
Power Apps
Answered

Get detail of current logged in user using Powerapps Component Framework

(0) ShareShare
ReportReport
Posted on by 75

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.

I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    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

  • Verified answer
    Goutham A Profile Picture
    76 on at

    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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard