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.