How to Get Application Roles of Other Users that are Not Logged in ?

(Doc ID 1559066.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.


When a user views someone else's profile then they would like to display different information based on which roles the user belongs to.
So they need an API or EL that can tell if a user is a member of a particular role or not.

The EL #{WCSecurityContext.userInScopedRole['Moderator']} can be used to check the roles of the logged in user, but how to check the roles of a given user that is not logged on?


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms