Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ccuser:getsiteroles
Gets the roles for the user for the specified site.
Syntax
<ccuser:getsiteroles name="user name" site="site id" objvarname="variable name" />Parameters
name (required)
- Name of the user.
site (required)
- Site id.
objvarname (required)
- Name of the role list object to create.
Example
<!-- 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: <ics:getvar name="roles"/><BR/><BR/>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.