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
Super User
Super User

@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
Super User
Super User

@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

@Gopala_Krishna 

 

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

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (3,900)