My Oracle Support Banner

How to Get Application Roles of Other Users that are Not Logged in ? (Doc ID 1559066.1)

Last updated on JULY 16, 2019

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 to 11.1.1.6.0 [Release 11g]
Information in this document applies to any platform.

Goal

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?
 

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


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