How we can display login user ID of application user on mendix page in textbox and also saved it in any attribute in any entity? Also Need to filter template grid using login ID

0
How we can display login user ID of application user on mendix page in textbox and also saved it in any attribute in any entity? Also Need to filter template grid using login ID   Please guide me   \              
asked
1 answers
2

The username of the user is stored in the attribute “Name” of the Entity User (in system module). There is a variable $currentuser that you can in the microflow. Hence, you would want to either copy the username of the current user to an attribute that you’ve created in a specific entity, or you can just associate the Account (specialization entity) with the entity that you want to reference the user. For filtering in a template grid, you can just select the attribute that you’ve added to the entity or just select the “Name” attribute through the association that you added between the said entity and Account.

answered