Anonymous user registration - retrieve user role - Mendix Forum

Anonymous user registration - retrieve user role

0

Hi all,

can someone explain how to get the data in the highlighted below. I can not select it anywhere. 

Furthermore it would be interesting to know the properties of the “retrieve UserRole from database” step.

I followed the steps in the training https://gettingstarted.mendixcloud.com/link/module/183/lecture/1430 (point 9)

Thanks and regards

Hannes

 

asked
2 answers
1

You first have to create an user-role with the name ‘requestor’.  Do this in your Mendix modeler when security settings are not “Off”. Add the user-role at the Project->Security->Tab User roles

The properties of the “retrieve UserRole from database”  are visible in the image, in the annotation above that activity.

answered
0

See this forum post about how to retrieve a specific userrole:

https://forum.mendixcloud.com/link/questions/89358

 

NOTE; the annotation shows a wrong XPath; Never use a hardcoded string in XPath.
In this case use the available token instead
 

answered