In this blog, we will see how to change the displayed profile name of a logged-in user in Power Pages using the Header web template.
Where profile name come from?
![Screenshot (23)]()
In Power Pages, the profile name shown in the site header is not hardcoded. It is rendered dynamically using Liquid syntax and is sourced from the logged-in user’s Contact record. Power Pages exposes this information through the user object, which can be accessed inside web templates such as the Header template.
Contact Table
![Screenshot (22)]()
Show Default Behavior
By default, Power Pages displays the full name of the logged-in user in the header. This value usually corresponds to the Contact’s Full Name field and is shown only when the user is authenticated.
Steps to change the displayed Profile Name in the Header Web Template
Follow these steps below to customize how the logged-in user’s profile name appears in the Power Pages header.
Step 1: Open Power Pages Management from Power Pages studio
![Screenshot (24)]()
![Screenshot (25)]()
![Screenshot (26)]()
![Screenshot (27)]()
![Screenshot (28)]()
The above Liquid code is used to retrieve and display the logged-in user’s profile name safely in the site header.
here it is assigning user's fullname to username variable.
![Screenshot (29)]()
![Screenshot (30)]()
{% assign username = user.adx_identity_username | escape %}
![Screenshot (31)]()
Conclusion
As shown above, even small changes in Liquid code can make the Power Pages header more personalized and user-friendly.