Hello
I'm trying to add multiple users to a "Displaymode.Edit" function but can't seem to get it to work properly.
I had single user as follows:
If(VarUser.Email = "User1's email", DisplayMode.Edit, DisplayMode.View) - This worked fine.
I then tried to add another user as follows:
If(VarUser.Email = "User1's email, User2's email", DisplayMode.Edit, DisplayMode.View) - This did not work.
I then tried multiple different varieties of the above to no avail such as:
If(VarUser.Email = "User1's email" Or "User2's email", DisplayMode.Edit, DisplayMode.View) - This also did not work.
Can someone point me in the right direction please?
I don't think this makes a difference but this is relating to a customized Sharepoint form.
Thank you!