Retrieve current user role

0
Hi, How can I get the user of curretnlty logged in user’s role in Mendix ?   Thanks!
asked
2 answers
2

And to compare the user’s role(s) to the role that you want to apply, use the userrole tokens:

https://docs.mendix.com/refguide/xpath-keywords-and-system-variables

answered
0

you can get it from the system variable like currentuser , and then retrieve from it the userroles via association or db.

answered