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

Syntax error while combining EL expression for Profile.value and securityContext.userInRole

Summary:

I have requirement to view the logged in user to see the required functions/privilege . I'm trying to combine the Profile.Value and securityContext.userInRole in an EL, but facing issue to validate them.

#{(Profile.values.HRC_ELASTIC_SEARCH_ENABLED eq 'Y'
and Profile.values.ORA_PER_ORACLE_SEARCH_WORKERSLOV_ENABLED eq 'Y'
and Profile.values.ORA_HCM_VBCS_PWA_ENABLED eq 'Y'
and Profile.values.ORA_PER_ELIGIBLE_JOBS_REDWOOD_ENABLED eq 'Y'
and securityContext.userInRole['Custom_User_Role'])}

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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