how to show current loggedin user in profile menu?

0
I want to show current logged-in user of my app in profile menu,like mendix profile menu(it shows mendix developer portal users, instead of this i want to show internal users of my application). If i switch  user that time itself it should get change. how to solve this requirement? thanks in advance.
asked
2 answers
2

Create a snippet having a DataView with DS_Account_Get (see image) as source and add this snippet to Layout of your page. 

 

To get the user’s photo, it of course needs to be available in your application as an image usually 1-1 related to the Account.

 

answered
4

Couple of ways to do this, check out this previous forum post with screenshots: https://forum.mendix.com/link/questions/88292

If you want to add this in a navigation layout, you will have to create a snippet. See: https://forum.mendix.com/link/questions/9078

answered