web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to detect user at ...
Power Apps
Unanswered

How to detect user at start up and route him to a particular screen

(0) ShareShare
ReportReport
Posted on by 2

I have made an single app for several department. I have a list of user with their email address. 

Therefore, I want the user to view only his screen only while opening the app.

 

Can I detect user and route him to a particular screen.

For Example At startup of App

If user  aaabbbbb@email.com then navigate to FieldServiceScreen

If user nnnnnnnn@email.com then navigate to WorkshopScreen

 

Please advise, how to detect by code while user is opening the app and where to place the code.

 

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    152,843 Most Valuable Professional on at
    Re: How to detect user at start up and route him to a particular screen

    Hi @MIA27 ,

    On the StartScreen (you also need a Default screen to go to it the user is neither of these) - also put the user to test against in lower case to allow for the user not being this.

    If(
     Lower(User().Email) = aaabbbbb@email.com,
     FieldServiceScreen,
     Lower(User().Email) = nnnnnnnn@email.com,
     WorkshopScreen,
     DefaultScreen
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard