How do I obtain information about a logged-in user?

Hello ,  I am now using the login module that comes with Mendix I want to get the information of the logged-in user when the user clicks the logged-in button How do I do it ? Thanks .
1 answers

After you login, you should have the $currentuser object, from which you can retrieve the related data. $currentuser is a System.User object. Depending on the implementation of this object, you can retrieve the account object.