How can we get logged in user details in the user icon on homepage

Hi, Just like here we have on click of user icon, we get user details and log out button. How can we achieve this in mendix instead of pop up page for the same.
1 answers

Hello Rutuja,

You would want to use the DropDown Container widget: 
With this you can create a clickable user icon and show user details / logout button within that dropdown.

The documentation should be sufficient to help you on your way, also there is a clickable demo of the widget here:

Hope this helps!

Based on your comment, it gets a little tricky, the only way to get data to be viewed on a layout is to create A snippet.
Put your logic within the snippet and the snippet within a layout. It should look somewhat like this.  |