cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resolver II
Resolver II

control visible for specific users

My app has a detail icon on the Header and i wanted to hide for all users and visible for specific users

i try this working 

if(user().Email="rabbani@app.com",true,false)

but i add with AND /OR it does not work

if(user().Email="rabbani@app.com",And "syed@app.com",true,false)

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

You can do away with the if as:

user().Email="rabbani@app.com" Or user().Email="syed@app.com"

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

View solution in original post

3 REPLIES 3
Super User III
Super User III

You can do away with the if as:

user().Email="rabbani@app.com" Or user().Email="syed@app.com"

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

View solution in original post

i hope i can add many Or in the formula thanks it works👍

Yes you can add more.

You can Also create a collection of user emails in one column. 

Then use the formula:

If(user(). Email in CollectionName.Column,true,false)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (99,541)