I wanted to create a custom login for my Mendix project, and I've created a JavaAction shown below, but after the user login with the JavaAction, I checked the currentUser in the microflow, and I found that the user is still Anonymous, how can I update the currentUser to the actual user that login in the system? JavaAction: currentUser:
asked
Ryan Ge
3 answers
0
Hi, you need to assign an appropriate User Role through System.UserRole attribute assignment (last line in your screenshot)
answered
Dmitry Ganchev
0
Why not use the available login action for nanoflows?