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 Pages / Get name of logged in ...
Power Pages
Unanswered

Get name of logged in user

(0) ShareShare
ReportReport
Posted on by 42

Hi,

 

I am a beginner to Power Pages. 

 

On my welcome page, which is displayed after authentication, I have a text area which says "Welcome, " currently. I want to add the name of the logged in user after this. How can I do this?

 

Thanks

LM

Categories:
I have the same question (0)
  • Lucas001 Profile Picture
    2,541 Super User 2026 Season 1 on at

    Hi @LostMary,

     

    use the User object which can be accessed via Javascript.

    In your case it's User().Email

    You can find all available info here: https://learn.microsoft.com/de-de/power-platform/power-fx/reference/function-user

     

    Just keep in mind if a user is not logged in you probably want to display something else.



    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

     

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    If you have access to the Content then you can use Liquid to access the user object this link has an example that is close to what you want https://learn.microsoft.com/en-us/power-pages/configure/liquid/liquid-objects#user

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 71

#2
DP_Prabh Profile Picture

DP_Prabh 36

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 32 Most Valuable Professional

Last 30 days Overall leaderboard