AnsweredAssumed Answered

Operator confusion (OR)

Question asked by donjuancarlos_1 on Sep 21, 2009
Latest reply on Sep 21, 2009 by 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?

Outcomes