Login account role check based on enum

0
What is the best way to check an account when a user tries to login and redirect them a page that's based on their account role?  Such as account with role 'IT' must only see a page of Management and 'secretary' must only see a page for financial stuff. My entity are the following: Account [Entity 1] - Username - FullName -Email - AccountRoles(Enum) Password[Entity 2] - PasswordOld -PasswordNew -PasswordConfirm Does anybody know how to fix this? Because I can't figure it out and search the whole web about mendix with no result.  
asked
1 answers
1

Why don't you use userroles which you can configure in your project?

You can specify different home pages per user role in the  'navigation' section of your project. 

https://docs.mendix.com/refguide/navigation

answered