The are 2 (CustomString and Microflow label) widgets which can dispay a string result from a microflow but these are not compatible with the newer versions of Mendix.
I would recommend to make a snippet with a DS microflow to retrieve the user account. You can than add a label in the dataview to display the username and userrole. The make it presentable you have to do some additional styling.
Add a custom string microflow and display just the data you like.
Regards,
Mo