web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / problems with user per...
Power Apps
Answered

problems with user permissions

(0) ShareShare
ReportReport
Posted on by 12

I want to build a PowerApps. the PowerApps functions are a lot but I cannot personalize the app for each user so the users can only view data relevant to them. I have tried methods like On start - search office365users.myprofile() .Mailnickname but I am getting syntax error. I tried every possible syntax and it doesn't allow me to do just that. all I need is for the PowerApps to launch and search for the users and show information only relevant to that user and set the permission accordingly. and this is on an organization level. " all the organization users have office365 profiles, they PowerApps is going to be launched from teams which means the info I need should already be entered while in teams." I have hit a wall at this point and I would love to find the solution.

Categories:
I have the same question (0)
  • Verified answer
    Abhilash_Swain Profile Picture
    901 on at

    Hi @omareisa,

    Please add this ClearCollect(coll_userprofile,Office365Users.UserProfile(User().Email)) as shown below.

    Abhilash_Swain_0-1641195553432.png

    Use the coll_userprofile, to display the data.

     

    Hope this will help you.
    Please give a like / accept it as a solution. 🙂 

  • omareisa Profile Picture
    12 on at

    I have used the command, thank you for that.

     

    however, is there a way to view the data only relevant to the user who opened the application?

  • Abhilash_Swain Profile Picture
    901 on at

    @omareisa, "User().Email" will filter the current logged in user .

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard