How many ways we can retrieve current user by using microflow

0
Hello Experts,   In mendix , With the help of  microflow we have the option for retrieve the current user by retrieve object activity (id = %currentuser%).   My question was, Is there any another option where we can retrieve the current user by using microflow apart from (id = %currentuser%).…   Answers are very much appreciated!!!     
asked
3 answers
1

Hi Aneesh, 

 

%currentuser% is a system variable that represent a instance of User current logged in the App.

 

You can access this variable directly in a Decision, Object Type Decision or Setting a association.

 

If all you need is to check the type of user / anonymous (system.user) or a user with Account you can have a microflow like:

 

 

If you can provide more info on what you need to archive, I may elaborate the answer with more options to solve out.

 

Best regards

answered
0

Hi Aneesh , 

 

we can use this XPath also in retrieve to get current user

 

 

I hope this helps you

answered
0

Hi Aneesh,

 

You dont need to retrieve Current user, since CurrentUser is default available to use in both Microflows, nanoflow and XPath contraints.

 

Hope this will help,

Jan

answered