Showing results for 
Search instead for 
Did you mean: 
Advocate IV
Advocate IV

Show Button or Screen based on User permissions

Is there a way to create an If statement for the Visibile property on a button to only display if the current user has Create item permission on the list?




Is there a way to show a particular OnStart screen based on who the user is?




Accepted Solutions

You can use the onStart function or onvisible depending on your use case

View solution in original post

Power Apps
Power Apps

You can use the User function ( or the office 365 connector ( to find out who the user is and navigate to a particular screen based on the user.


I'm not sure about how to detect if the user has create list permissions however. @KeremY or @sarafankit who might know the answer.



I have tried using DataSourceinfo.CreatePermission but that does not work. Other users have pointed out this issue.


What screen property would you set to enforce a specific startup screen?

Could this be used for a group of users?

You can use the OnStart property. That will trigger the once when the app is run.


You can check if the user belongs to a table (eg. an admin table). Take a look at the Filter function (

Helper II
Helper II

If you could add an example of pulling this info., it would be really great

Which part would you need assistance with?

Helper II
Helper II

To hide/view specific buttons based on users in specific groups. Like users in my team cam view all buttons, and hide few for rest all users in org.



You can use the below


If(User().Email = "", DisplayMode.View)

Power Participant
Power Participant



In this old post: I talk about using membership in AD groups to control the visibility of UI elements.


Good luck!

Regular Visitor

> You can use the below


> If(User().Email = "", DisplayMode.View)


Where do we use this?

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,209)