Post Closed
265
Views
6
Comments
How to enter different screens based on different user roles

In an application, I want to enter different screens based on different permissions.

For example, the permissions of ordinary employees and managers are different, and the images that can be seen are also different.

How can I solve it?

UserImage.jpg
Naku Sitsu

I gave a simple demo, how can I click the button on the login screen to enter different screens?

Userrole.oml
2025-12-12 06-45-53
Nandhakumar Sureshbabu

Hi @Naku Sitsu

You've missed the input parameter (GetUserId()) for the check patient role action. Other than that, everything is fine.

Hope it helps.


UserImage.jpg
Naku Sitsu


After logging in, I can only reach the doctor screen. How can I click the login button to enter the patient screen? 

Userrole (1).oml
2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Please.dont ask same question more than once, I close this discussion.

It can continue here

https://www.outsystems.com/forums/discussion/90077/different-roles-cannot-enter-different-screens/