Display current user

0
Hi, I’m struggling to display the current user ($currentUser) on a view.  I use a microflow to get the information: But I dodn’t know how to go on…. to display the variable on a web side. Can someone help me, here. Thanks Bernhard  
asked
5 answers
2

I think the problem might be the limited access rules on the user. You should work with the Account (which is a specialization of the user). In order to get the account, you can add an inheritance split to your microflow and cast to Account (in case of Account). Return the Account object and use this in your dataview. On the Account, you can change AccessRules if needed. On the user you can’t.

answered
2

Since Account object is a specialization of the user object in administration module. Return the account object and use this returned object wherever you need

answered
0

Thanks for your quick reply and support. 

The focus of my issue is: I don’t know how to display the variable $Account on the web view – which Widget or other component allows to show the variable content?

 

answered
0

You can create a data view, with source microflow, in that microflow you return the current account, and on that data view, you put a text field with the attribute name (or firstname + lastname) of the account

answered
0

Thanks Yehoshoua – the data view hint was exact I was looking for!!! Now, it works:

Many thanks to all of you for the support,

best regards

Bernhard

 

answered