I created a list Called Admins to store the users
Define a collection to fetch the approvers based on logged in user. This will fetch multiple approvers.
Clear(colMyCol);
ClearCollect(
adminsList,
Filter(
Admins,
Approver.Email = User().Email
)
);
Loop through the adminsList collection
ForAll(
adminsList,
Collect(
colMyCol,
Filter(
Table(
{
DisplayName: Users.DisplayName,
Claims: “i:0#.f|membership|” & Users.Email
}
),
Not(IsBlank(DisplayName))
)
)
);
Thanks for reading my post. If you liked this post, please share it with others 🙂