My Oracle Support Banner

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

Last updated on JANUARY 14, 2021

Applies to:

Oracle WebCenter Portal - Version to [Release 11g]
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?


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

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