Home > Contents > 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 XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.