AnsweredAssumed Answered

Account Privilege set verification (Multiple conditions)

Question asked by schmity on Jul 16, 2014
Latest reply on Jul 16, 2014 by philmodjunk

Title

Account Privilege set verification (Multiple conditions)

Post

     Im trying to write a script to check the account privilege set name.  If it doesn't equal a predetermined calculation, I want the script to exit.

     What I have:

     if [get(accountprivilegesetname) ≠ "Inspector" or "Inspector CM"]

     exit script

     Currently, if the privilege set = "Inspector" it will continue the script, but "Inspector CM" or any other privilege set name exits. (I do not want the script to exit if it = either "Inspector" or "Inspector CM")

     Why is it not recognizing the second condition?  Am I writing this wrong?

      

     thanks!

Outcomes