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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / login screen navigation
Power Apps
Unanswered

login screen navigation

(0) ShareShare
ReportReport
Posted on by 108

Hello,
I'm creating a management application. In that i have three screens login screen, manager screen and employee screen. Is it possible that when a manager enters their email id it should navigate to manager screen. And when an employee enters email it should navigate to employee screen? 

Or another option when manager enter's email it should show only manager options?

Sanskruti_0-1699984397154.png

I'm using this formula to identify levels:
"Set(
VarOffice365UserInfo,
{
UserEmail: Office365Users.UserProfile(User().Email).Mail,
UserName: (Office365Users.UserProfile(User().Email).DisplayName),
Manager: Office365Users.Manager(User().Email).UserPrincipalName
}
);"

P.S. I'm using free trial powerapps version. 

Thank you in advance. 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,386 Most Valuable Professional on at

    Hi @Sanskruti ,

    The issue is how do you determine who is a Manager (Managers also have Managers). You probably need to do something with Job Description and have a list of them you regard as managers.

     

    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

     

     

  • WonderSerota Profile Picture
    80 on at

    Yes, it is  possible to implement that  functionality.

    I think this is how you can do it:

    On the login screen, you can use the `If` function to check if the logged-in user is a manager or an employee based on their email. If the user is a manager, navigate to the manager screen; otherwise, navigate to the employee screen.


    If(
    Office365Users.UserProfile(User().Email).Mail = "manager@outlook.com",
    Navigate(ManagerScreen),
    Navigate(EmployeeScreen)
    )

     

    On the manager screen, you can conditionally show or hide certain options based on the user's role. You can use the `Visible` property of controls to achieve this. 

    Like:
    If(
    Office365Users.UserProfile(User().Email).Mail = "manager@outlook.com",
    // Show manager-specific controls
    Set(managerView, true),
    // Hide manager-specific controls
    Set(managerView, false)
    )


    Please click Accept as solution if my post helped you solve your issue.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard