how to show current loggedin user in profile menu?

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.
2 answers

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.



Couple of ways to do this, check out this previous forum post with screenshots:

If you want to add this in a navigation layout, you will have to create a snippet. See: