AnsweredAssumed Answered

What is wrong with this expression?

Question asked by Sketter on Nov 2, 2013
Latest reply on Nov 3, 2013 by Sketter

Title

What is wrong with this expression?

Post

     Hi, I'm trying to allow two or more accounts to access a layout.

     My script is this.


     If [Get ( AccountPrivilegeSetName )  =  "reprint" or "admin"]

       Go to Layout [Member Detailed (Reprints)"(Members)]

       Perform Script ["Reprints]"]

     Else

       Show Custom Dialog ["You do not have access."]

     End If

      

     Logically in my mind using  OR sounds right, but it's not, it's only looking at the first variable after the =

     Can anyone help?

      

     Thanks

Outcomes