Hi Omar,
Place a snippet in your layout. In your snippet place a dataview with datasource microflow. In your microflow retrieve the currentuser (you might need to cast the object to account). Now you can use the text widget or text box widget to display his user name.
Hi Omar,
You don't need that widget to realize that functionality. Just enable security in your project security settings.
This will require the user to login before entering the app. You can create accounts on the accounts_overview page.
When a user is logged in you can use the $currentUser variable to know what user is logged in.
Good luck!
Hi Omar,
Please note that the custom widget for login forms are depricated for Mendix 7 in favor of the new core widgets for authentication.
https://docs.mendix.com/releasenotes/desktop-modeler/7.0#authentication-widgets
Cheers Andries