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 / granular level row lev...
Power Apps
Answered

granular level row level sec for multiple users

(0) ShareShare
ReportReport
Posted on by 119

Hello commuity,

 

I have a column in sharepoint which is the data source and has a column 'Email id'. This column can have 1 email id of the user and can also have 10 different email id's of different users.

 

I want to implement row level security basis this column, so if I have 2 users / email ids in column 'Email id' then these 2 users should be only be able to see these items.

 

I can make it work for 1 user but not able to make it work for multiple users / email id's in the column.

 

If anybody can guide or help?

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @Mishatandon ,

    Providing your email column is less than 2000 items, you can collect it and use the In Filter - so at App Onstart

    Set(vUserMail,User().Email);
    ClearCollect(
     colEmails,
     YourEmailListName
    );
    Set(
     vAllowed,
     !IsBlank(
     Lookup(
     colEmails,
     vUserMail In YourEmailFieldName,
     YourEmailFieldName
     )
     )
    ) 

    The Variable vAllowed will be true if in the list, false if not.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Mishatandon Profile Picture
    119 on at

    Thanks @WarrenBelz! I will test and come back to you.

     

     

  • Mishatandon Profile Picture
    119 on at

    It worked fine @WarrenBelz 

     

    Thanks!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard