cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
BrianJ
Level: Powered On

2 Users on visible

I am trying to give to users access to see only certain items in the visible state.  I can get one to work but no luck with adding the 2nd one.  Here is the code I am using for 1 but I would like to add another user to it.

If(User().Email = "email@email.com", true, false)
2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: 2 Users on visible

Hi @BrianJ,

If(User().Email="email@email.com"||"anotherEmail@email.com",true,false)

You can reduce this to 

User().Email="email@email.com"||"anotherEmail@email.com"

 because this expression reduces to true and the Visible property only requires a true or false value.

Super User
Super User

Re: 2 Users on visible

Hi @BrianJ,

Please try 

User().Email="email1.com"||User().Email="email2.com"
6 REPLIES 6
Super User
Super User

Re: 2 Users on visible

Hi @BrianJ,

If(User().Email="email@email.com"||"anotherEmail@email.com",true,false)

You can reduce this to 

User().Email="email@email.com"||"anotherEmail@email.com"

 because this expression reduces to true and the Visible property only requires a true or false value.

BrianJ
Level: Powered On

Re: 2 Users on visible

Thank you so much.  I still have so much to learn with this.

Super User
Super User

Re: 2 Users on visible

Hi @BrianJ,

Stick with it, we all started where you are. iu.jpeg

 

BrianJ
Level: Powered On

Re: 2 Users on visible

I thought this was working but it only works for the 1st email in the code.

User().Email="email1.com"||"email2.com"
Super User
Super User

Re: 2 Users on visible

Hi @BrianJ,

Please try 

User().Email="email1.com"||User().Email="email2.com"
BrianJ
Level: Powered On

Re: 2 Users on visible

That's the one