Hai Community, How to fetch current logged-in user details on Micro Soft power pages

Hai Community, How to fetch current logged-in user details on Micro Soft power pages
To fetch the details of the current logged-in user on a Microsoft Power Apps page, you can use the following formula in a label or text box control:
User().FullName
This formula will display the full name of the current user who is logged in to the app. If you want to display the user's email address, you can use the following formula instead:
This formula will display the full name of the current user who is logged in to the app. If you want to display the user's email address, you can use the following formula instead:
User().Email
You can also retrieve other user details such as the user ID, job title, and department using the User() function with different properties. For example, to retrieve the user ID, use the following formula:
User().Email
Once you have added the label or text box control and set the formula to retrieve the desired user details, you can save and publish the app to see the details of the current logged-in user. Note that the user details will only be displayed if the user is logged in to the app using their Microsoft account or another supported authentication provider.