Latest Posts

PowerApps Get Logged-In user Details


The User function in PowerApps provides information about the current user of the app. This function is useful for customizing the user experience, displaying personalized information, and controlling access based on the user's identity.

PowerApps – User() function Syntax



User()

Notes:

  • The User function returns a record containing three fields:
    • FullName: The user's full name.
    • Email: The user's email address.
    • Image: A URL to the user's profile image.

- User Information Availability: Ensure that the user's profile information is available. If not, handle cases where User().FullName, User().Email, or User().Image might be empty or null.

- Security and Privacy: Be mindful of how user information is used and displayed, ensuring it complies with your organization's privacy policies and regulations.

PowerApps - Display User's Full Name

To display the current user's full name in a label:

User().FullName

Set the Text property of a label to User().FullName to show the user's full name.

PowerApps – Display User's Email

To display the current user's email address in a label:

User().Email

Set the Text property of a label to User().Email to show the user's email address.

PowerApps - Display User's Profile Image

To display the current user's profile image in an image control:

User().Image

Set the Image property of an image control to User().Image to show the user's profile picture.


We value your Feedback:

Page URL:

Name:

Email:


Suggestion:

© 2024 Code SharePoint