Show information about a user in a canvas app

In Power Apps, show the full name, the email address, and the picture that's associated with the user who's signed in to a canvas app. You can use this information, for example, to automatically fill in a form.

For example, you can use this feature to:

  • Create a sign-up "sheet" for users to attend training, volunteer for events, check in at a kiosk, and more.
  • Display the full name on a Human Resources app.
  • Automatically enter an email address when contacting your helpdesk.

Basically, you can use this anywhere users would benefit from a form or labels that are populated automatically

Prerequisites

  1. Create a blank canvas app.
  2. Learn how to add and configure controls.

Show user details

  1. On the Insert tab, click or tap Media, and then click or tap Image.

    Insert media

  2. Set the Image property to this formula:
    User().Image

    Image property

  3. On the Insert tab, click or tap Text, and then click or tap Label:

    Text label

  4. Set the Text property to this formula:
    User().FullName

    Text property with formula

    When you do this, the label is automatically populated with your full name. Move the label so it's below the image control, similar to the following:

    Image of label

  5. Add another label, and set its Text property to this formula:
    User().Email

    Text property with user email

    When you do this, the label is automatically populated with your email address. Move the label so it's below the first label, similar to the following:

    Image with name and email