cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Model Driven Apps - Get Logged in User

Hi team, I am trying to get the current logged in user email / full name on model driven apps to compare it with a certain field on a CDS entity. Requirement - a user submits a report and says my managers email address / name is "X" (over riding manager field on user level); then the user "X" should be able to see that report. Is this possible. Thanks 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Model Driven Apps - Get Logged in User

Hi @AbhayKacker ,

 

User function is avaible in canvas app, could you please try to embed a canvas app on the model-driven form, then get the current user information using User function?

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embed-canvas-app-in-form

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-user

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Model Driven Apps - Get Logged in User

Hi @AbhayKacker ,

 

User function is avaible in canvas app, could you please try to embed a canvas app on the model-driven form, then get the current user information using User function?

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embed-canvas-app-in-form

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-user

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Model Driven Apps - Get Logged in User

Hi @AbhayKacker can you review the above reply and update the thread if it was helpful? 

 

Thank you,

 

@Anonymous 

Highlighted
Post Patron
Post Patron

Re: Model Driven Apps - Get Logged in User

@v-monli-msft 

So in model driven app there is no native way to filter data in entity per current user ?

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,063)