cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cadone
Helper V
Helper V

Access Name

Hi all,

 

In a document library, I am selecting a folder & trying to run a flow. The first step shows following details. I want to access the user name from that list. How to parse it, please help me understand. I tried dynamic content. its doesn't show the names. instead it show some wired numbers. I guess there must be a some expression.

 

Greenshot 2021-02-19 20.34.13.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
Gopala_Krishna
Solution Sage
Solution Sage

@cadone 

You can use the below mentioned expression to get the username

triggerOutputs().headers['x-ms-user-name']

 

For accessing the any other property from the header, replace the property name present in ''(singlequotes) with desired value.

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

if the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved

View solution in original post

cadone
Helper V
Helper V

i used a find a user action.selected the wired number from the select file output. worked.

View solution in original post

3 REPLIES 3
Gopala_Krishna
Solution Sage
Solution Sage

@cadone 

You can use the below mentioned expression to get the username

triggerOutputs().headers['x-ms-user-name']

 

For accessing the any other property from the header, replace the property name present in ''(singlequotes) with desired value.

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

if the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved

cadone
Helper V
Helper V

i used a find a user action.selected the wired number from the select file output. worked.

@Gopala_Krishna 

 

Worked like a charm too. I guess this method will reduce 1 step for me. Thanks 🙂

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,262)