cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Restrict Users to view only their specific records in Gallery

Hi All,

I'm new in PowerApps development, want to build a functionality to show manager specific records in Gallery based on their email address stored in SharePoint list.

 

for e.g. if Mike logins than he can only see his pending records in Gallery, not other managers' records stored in the Sharepoint list.

 

currently filtering the gallery based on 2 dropdowns (Manager and User) selections, using the below function. attached is the screenshot for the same.

Search (Filter ('DS05.02.17_Review_database_accounts','Manager Mail Id'=Dropdown1_2.Selected.Result && 'Request Status' = Dropdown1.SelectedText.Value),Dropdown2.Selected.Result,"User_x0020_Name")

 

Thanks,

Mayank

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Resident Rockstar
Resident Rockstar

Hi @gumgih ,

You can use like below.
varCurrentUser.Email= User().Email

VijayTailor_0-1602005167924.png

Thanks,

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."-Vijay

View solution in original post

2 REPLIES 2
Resident Rockstar
Resident Rockstar

Hi @gumgih ,

You can use like below.
varCurrentUser.Email= User().Email

VijayTailor_0-1602005167924.png

Thanks,

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."-Vijay

View solution in original post

@VijayTailor  Thank you 🙂

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (46,872)