cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bassel
Frequent Visitor

Navigate funtion changes according to the user !!

Hello All,

I am trying to built an app as the follwing:

I have 2 types of users (owners and admins) but each of them has different screen.

I build a spesific screen for each one of them. Also, I build a List (manage Access) in SharePoint365 that contains  two columns (Email and Role).

I need to chack if the user has access first depending if his name is in Manage access list (done) 🙂 

Now I need help in the navigate function where I have to retrieve the role of the user and take him to his screen.

 

 

Spoiler

ForAll(AccessManagment, Switch(User().Email ,  Email.Email, Navigate(AdminsMainScreen,None)))

 

my list's name is AccessManagemtn ; I have check if the user in the Email colunm (works) but I need to direct the user to a screen depends on his role ??

In my code here I have only one option to navigate to the Admin Screen , but I need to make this navigate function retrieve my user role an take him to his screen !!! 😞 

 

Thank you in advance,

Bassel

0 REPLIES 0

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (4,499)