Forum Discussion
Daniel_Wolf
Jul 30, 2021MVP
Hi Sakiy,
you could use a TCL expression like OR to chain the usernames. See this manual: https://techdocs.f5.com/en-us/bigip-14-1-0/big-ip-access-policy-manager-visual-policy-editor-14-1-0/tcl-usage.html
Also take a look here:
https://devcentral.f5.com/s/articles/apm-variable-assign-examples-1107
So you might end up with something looking like this:
expr { [mcget {session.logon.last.username}] == "user1" || [mcget {session.logon.last.username}] == "user2" }
If possible, I would recommend joining those users in an LDAP or AD group.
KR
Daniel