My Oracle Support Banner

Fusion Global HR: How to Enable an Expression Language (EL) by Username (Doc ID 2742164.1)

Last updated on MARCH 17, 2021

Applies to:

Oracle Fusion Global Human Resources Cloud Service - Version 11.13.20.10.0 and later
Oracle Fusion Global Human Resources - Version 11.12.1.0.0 and later
Information in this document applies to any platform.
This note was created for Release 11.13.20.10.0. The note has been reviewed and is current for release 11.13.21.01.0.

Goal

EL Expression by Username

How can we limit an icon on the spring board to just a few select users without using security roles?

The following was attempted, but didn't give the desired results:


With this:   #{WCSecurityContext.currentUser['username'||'username'||'username']} 

ISSUE: validate returns false and does not appear on the spring board.
-----------------------------
With this:  #{WCSecurityContext.currentUser['username']}

ISSUE: it will work, but for one username.
-----------------------------
With this: #{WCSecurityContext.currentUser['username']||WCSecurityContext.currentUser['username']||WCSecurityContext.currentUser['username']}
               validate returns true, but the system returns an Application Error on save and close.

ISSUE:   With two people sometimes it won't error and sometimes it will, but more than two people it has always returned an error.

-----------------------------

NOTE:  'username' is entered with the actual user name like person@company.com
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.