top of page

Understanding the Different type of Power Apps Users

Updated: 2 days ago


User management in Power Apps can be a multifaceted task, especially when dealing with various data sources. In this guide, we'll explore four primary methods to retrieve user information in Power Apps, along with the schema of each user type, to provide a comprehensive understanding of user management.

1. The User Function

The user function in Power Apps is a built-in function that returns basic information about the currently logged-in user. The schema includes:

  • Email: The email address of the user.

  • DisplayName: The full name of the user.

  • Picture: The image associated with the user's profile.

This function is often used to personalize the user experience within the app by displaying the user's name or picture.

2. Office 365 Users

Office 365 users connection in Power Apps provides a rich set of properties related to users within your organization:

  • DisplayName: The display name of the user.

  • Mail: The email address of the user.

  • JobTitle: The job title of the user.

  • MobilePhone: The mobile phone number of the user.

  • OfficeLocation: The office location of the user.

This connection is valuable for accessing detailed user profiles and can be used in various scenarios like employee directories or organizational charts.

3. SharePoint Person Column

SharePoint person columns store user or group data with a specific schema that includes:

  • Claims: The claim associated with the user.

  • Department: The department of the user.

  • DisplayName: The display name of the user.

  • Email: The email address of the user.

  • JobTitle: The job title of the user.

  • Picture: The picture of the user.

These columns are commonly used in SharePoint lists to store information about users or groups, facilitating collaboration and content management.

4. Dataverse Users Table

The Dataverse users table is a powerful feature in Power Apps, storing information about users with fields like:

  • SystemUserId: The unique identifier for the user.

  • PrimaryEmail: The primary email address of the user.

  • FullName: The full name of the user.

  • BusinessUnitId: The business unit associated with the user.

  • Title: The title of the user.

This table is essential for managing user-related data within Dataverse, supporting various functionalities like security roles and team memberships.

Connecting the Dots

Connecting the dots between these different methods requires a deep understanding of the schema of each user type. Email addresses are often used as the primary key to match users, but attention to details like case sensitivity is crucial.

Conclusion

Understanding Power Apps users and their properties is vital for building robust applications. By exploring the user function, Office 365 users, SharePoint person column, and Dataverse users table, you can gain a comprehensive understanding of user management in Power Apps.


Want to see these concepts in action? Check out my video tutorial where I demonstrate these methods and provide practical examples. Become an expert in handling Power Apps users today!


And if you get stuck when it comes to dealing with Power Apps Users or anything else in the Power Platform remember we are here to help. Just scroll to the bottom of the screen and use the Contact form. We are happy to help.


Thanks


Shane

904 views0 comments

コメント


bottom of page