Home > Contents > Index > 
USERISMEMBER
Checks if the current user is a member of one or more Access Control Lists (ACLs).
Syntax
<USERISMEMBER GROUP="ACL_NAME"/>Parameters
GROUP (required)- Comma-separated list of ACL names.
 
Description
The
USERISMEMBERtag checks if the current user is a member of one or more Access Control Lists (ACLs).Variables.errnois set to 1 (one) if the user is a member of any of the listed ACLs.errno
The possible values of
errnoinclude:
 Value Description 1 User is member of one or more groups. 0 User is not a member of any group.Example
This example checks whether Editors is one of the items in the current user ACL.
<SETVARNAME="errno" VALUE="0"/> <USERISMEMBER GROUP="Editors"/> <IFCOND="Variables.errno=1"> <THEN> User is member of Editors. </THEN> </IF>
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.