Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ccuser:getid
Gets the id of the user.
Syntax
<ccuser:getid name="user name" varname="variable name" />Parameters
name (required)
- Numeric row number for the user. For example, if you had three users, A, B, and C, and you wanted the id for user B, this parameter would be
name="2"
.
varname (required)
- Name of the output variable to create.
Example
<!-- For each user get the id of the user using CCuser.id --> <setcounter name="userCounter" value="0"/> <loop COUNT="Variables.Users:Total"> <ccuser:getid name="Users:Counters.userCounter" varname="user_id"/> <BR/> ccuser:getid: <CSVAR name="Variables.user_id"/> <inccounter name="userCounter" value="1"/> </loop><BR/>
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.