CheckRole

Hi Guys,

I am implementing an application. I have assign an roles to user. How to check that roles of user during login to the screen.

i.e 

Employee can login Employee screen

ITAdmin can login ITAdmin Screen

Manager can login Manager Screen

HR can  login HR screen

Manager can login all screen

How to do this???

I have attach an .oml

Please send an update oml .


 

checkrole (1).oml

Hi Rohan Roy,


My name is Cristian, And I am helping in the forum with the intention of becoming an MVP, your like helps me a lot and even better if I manage to solve your issue.

I see this error.

I'll explain how we can have the role if we haven't logged in yet.




Only if the login is correct will we obtain the roles.




validamos el rol que se tiene y hacemos la redireccion.



Now we understand this if a user has two roles.
Zoom and New By default,
when consulting your role, you will have the first one, which would be zoom.




Tell me if I help you.

Best Regards,

CP

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.