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 Apps - Building Power Apps
Answered

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

(0) ShareShare
ReportReport
Posted on by

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.

 

 

I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    151,686 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 629 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 397 Super User 2025 Season 2

#3
wolenberg_ Profile Picture

wolenberg_ 232 Moderator

Last 30 days Overall leaderboard