Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Can you please let me know the EL expression to be used to check if username is not in a userlist — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Can you please let me know the EL expression to be used to check if username is not in a userlist

Received Response
12
Views
4
Comments

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!