My Oracle Support Banner

How to get User details after restricting User To Access OCE UI with Site Visitor role only (Doc ID 2757695.1)

Last updated on APRIL 10, 2024

Applies to:

Content and Experience Cloud Service - Version 18.4.1 and later
Content and Experience Cloud - Version 18.4.1 and later
Content and Experience Cloud Classic - Version 18.4.1 and later
Information in this document applies to any platform.

Goal

We have a requirement to fetch logged in user details, when user login to a site (authenticated site). Currently we are using GET_USER_INFO API which fails, as it requires following OCE application roles
   - Standard user (CECStandardUser)
   - Enterprise user (CECEnterpriseUser)

We have given Site Visitor role only and the roles are not given to the OCE application to restrict users accessing the OCE UI
If GET_USER_INFO cannot be used with Site Visitor only role, are there any other alternatives to fetch the login user details ?

 

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.