2 Replies Latest reply on Sep 21, 2009 11:27 AM by donjuancarlos_1

    Operator confusion (OR)

    donjuancarlos_1

      Title

      Operator confusion (OR)

      Post

      I am using external access control.  I have the [Full Access] Privilege set to a file

       

      I have a script to control access to a file.  The following script gives me access:

       

      If  [Get(PrivilegeSetName)  ≠ "[Full Access]"]

          Close File [Current File]

      End If

       

       

      The following script does not me access:

       

      If  [Get(PrivilegeSetName)  ≠ "[Full Access]" or Get(PrivilegeSetName)  ≠ "HR"]

          Close File [Current File]
      End If

       

      What gives?