AnsweredAssumed Answered

fn-IsCurrentUser condition for more than one user.

Question asked by dstarr on Nov 13, 2017
Latest reply on Nov 13, 2017 by Enrico Knapp

Is it possible to use fn-IsCurrentUser to identify multiple users?  I want to be able to show or hide a form control depending on who the user is.  There are multiple users who should see the control.

I've tried the following:

 

fn-IsCurrentUser("corp\dstarr") || fn-IsCurrentUser("corp\test")

and that doesn't work.  I've also tried:

 

fn-IsCurrentUser("corp\dstarr" || "corp\test")

and that doesn't work either (although I sort of expected it wouldn't).

Can this be done and what is the correct syntax for doing so?

Outcomes