Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | 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 > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.