Home > Contents > Index >
ccuser:clearroles
Removes all roles for the user.
Syntax
<ccuser:clearroles name="user name" />Parameters
name (required)
- Name of the user for whom to clear roles.
Example
<!-- Clear all the roles of the user for this site --> <ccuser:clearroles name="u" /> <CCuser.GETsiteroleS name="u" site="968251170475" objvarname="roleobject"/> <rolelist.GETALL name="roleobject" varname="roles"/> <IF COND="IsVariable.roles=true"> <THEN> <BR/> After clear roles - CCuser.GETsiteroleS: <CSVAR name="Variables.roles"/><BR/> </THEN> <ELSE> <BR/> After clear roles - CCuser.GETsiteroleS: Variable not set!! <BR/><BR/> </ELSE> </IF> <BR/>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.