web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Sharepoint user base w...
Power Apps
Answered

Sharepoint user base with power apps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone, 

 

I am working on a power apps project meant to help my company's employees to receive trainings via online education. The platform is meant to present to the students all the necessary information, course content, and other files in a concentrated manner. Students would be able to enlist themselves into specific courses and their progression within those courses would be recorded and displayed to them as either "ongoing" courses or "finished" courses. Right now, I have managed to create and connect a sharepoint list with my login and sign up pages. In this list, I store some basic user information such as username, password, role...etc. The authentication does work. But after this is where I am kinda stuck.

 

There are some functions for the web app that I would like to deploy to be restricted to specific user type. And considering I want to display some basic user information such as course progression, I must make the app run on individual sessions and load the corresponding information of the current user. 

 

Essentially, at the current moment, even if there is an authentication process whenever the app is launched, no matter who the user is, they are all presented to the same app with the same information. I want to be able to load user specific data that only the current user can see. Would appreciate any kind of help. Thanks in advance. 

 

 

Categories:
I have the same question (0)
  • zmorek Profile Picture
    3,272 on at

    I would caution against usernames and passwords in a SharePoint list - PowerApps implicitly shares that information with every user. A savvy user will find that list easily.

    That said, you can use your userlist with the "role" column, and then on app start, look up that user's role and assign it permissions.

    Set(varUser, LookUp(UserList,User().Email=EmailColumn))

    Then you can apply varUser.Role on your controls. You can also use their identifying information (e.g. email) to filter your galleries, if you had to. For example, that way they only see things from a given datasource that have their email associated with it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for the reply, could you perhaps specify more on the last part of your reply? How do we filter galleries? Is there any online ressource where I can take reference from? 

  • Verified answer
    zmorek Profile Picture
    3,272 on at

    Of course! You'll use Filter() on your gallery, and you can supply the function with a bunch of arguments to show specifically what you'd like. For example, something like:

    Filter(DataSource,User().Email = Email)

    That would make a gallery only show items from the data source whose email column is equal to the current user's email. You can expand on that with more filters, as well!

     

    I like Shane Young's channel; he has a video for everything. Try these:

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you very much for the answer, this channel you recommended is indeed very informative. Much appreciated.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard