Can you please let me know the EL expression to be used to check if username is not in a userlist
Summary:
Hi All,
Can you please let me know how to check the condition where a username is not in a list of usernames.
for eg: i tried the following to check users in a list of users, it worked
#{securityContext.userName=='100000' or securityContext.userName=='111111' or securityContext.userName=='20000' or securityContext.userName=='222222' or securityContext.userName=='300000'}
Now I need to check the condition where username not equal to the list of usernames.
Please advice
Thanks,
Asha Jennifer
Content (required):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0