cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Showing powerapp button to only few users

Hi,

 

I have a requirement to show button only to couple of users. I do have MicrosoftUsers added as a data source, would like to know how I can set visible property so only certain users see it, Any help is much appreciated.

 

Thanks in advance.

P.S: I tried to use User().FullName for visible property but its not resolving, not sure if there is an issue with the 365 data source.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Showing powerapp button to only few users

@dmistry 

If you are hard coding this into your formula, then you can consider the following formula on your Visible property:

User().Email in "user1@domain.com|user2@domain.com|user3@domain.com"

This will set the Visible property to true if the current user is in the list of email addresses.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Showing powerapp button to only few users

@dmistry 

If you are hard coding this into your formula, then you can consider the following formula on your Visible property:

User().Email in "user1@domain.com|user2@domain.com|user3@domain.com"

This will set the Visible property to true if the current user is in the list of email addresses.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Highlighted
Post Prodigy
Post Prodigy

Re: Showing powerapp button to only few users

excellent @RandyHayes , appreciate your quick help on this. 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

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

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published 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 (6,638)