Announcements
I would like to get the email address from a person field in the SP list I created so I can use it to compare for User().Email. How can I do this? I'm trying to use it for the gallery that should only show items if the current logged in user matches the User (person field). I also have multiple users enabled for the column.
Please help.
Hi @biancadevera ,
Please try:
Filter(AddColumns(listD,"memberEmail",Concat(member,Email,",")),User().Email in memberEmail)
Best Regards,
Dezhi
Hi @v-dezhili-msft ,
This works like charm! I have another question tho. Say I have another column but this time just single user is allowed. How can I do that? Basically, my gallery will depend on two columns (person field). When the user's email is in any of the columns, it should show the items assigned to him.
Appreciate your help!
Just add another condition to the filter.
Filter(AddColumns(listD,"memberEmail",Concat(member,Email,",")),User().Email in memberEmail||User().Email=member2.Email)
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 352 Super User 2026 Season 2
M Bilal Khan 323
Mohsin Ali 226