My Oracle Support Banner

Ccuser.getsiteroles example in Tag Reference doesn't Work (Doc ID 1539183.1)

Last updated on MARCH 07, 2019

Applies to:

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

Goal

When using the sample code from the tag reference for ccuser:getsiteroles and changed just the user id and site id but it returns nothing.

Here is the code from the tag reference

<!-- Get the roles of the user for this site -->
<USERMANAGER.GETUSERFROMNAME USERNAME="xceladmin" OBJVARNAME="u"/>
<CCUSER.GETSITEROLES NAME="u" SITE="968251170475" OBJVARNAME="roleobject"/>
<ROLELIST.GETALL NAME="roleobject" VARNAME="roles"/>
<BR/> CCUSER.GETSITEROLES: <CSVAR NAME="Variables.roles"/><BR/><BR/>

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.