speedbird_86757
Mar 20, 2014Nimbostratus
APM VPE: Matching multiple values against a session variable
Within APM 11.4.0, I'm using an expression to check if the user's domain matches a value with the syntax:
expr { [string tolower [mcget {session.logon.last.domain}]] equals "domain.com" }
If I wanted to check against multiple values, is this the only correct expression:
expr { [string tolower [mcget {session.logon.last.domain}]] equals "domain.com" || [string tolower [mcget {session.logon.last.domain}]] equals "domain.corp"}
Is there a 'simpler' way to represent this? For example:
expr { [string tolower [mcget {session.logon.last.domain}]] equals "domain.com" or “domain.corp” }
I've tried multiple combinations, but it always results in a parsing error.
Thanks!