Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
dir:listusers
Returns a list of all ancestors to the property
CS.Property.dir.peopleParent.Syntax
<dir:listusers list="user list" [commonancestor="users parent"]>Parameters
list (required)- List in which to return the distinguished names of all descendants found. The names returned are relative to the
baseDNproperty.
commonancestor (optional)- Specifies the root of the Sites user tree. If this parameter is not specified the default is the value specified in the
CS.Property.dir.people.Parentproperty.
Error Numbers
The possible values of
errnoinclude:
Description
The parameter
commonancestormay be specified to override theCS.Property.dir.peopleParentvalue. The same results may be achieved using thedir.childrentag. Thedir.listuserstag is provided as a convenience for user operations.Example
<dir:listusers list="alluserlist"/> <ics:if condition='<%=ics.GetErrno()==0%>'> <ics:then> <p><b><ics.listget listname="alluserlist" fieldname="#numRows"/> USER IN DN= <%=ics.GetProperty("peopleparent", "dir.ini", true) %></b></p> <table border=1 cellpadding=2 cellspacing=0> <tr bgcolor=blue><td><font face=tahoma color=white size=+1><b>USER DN's</font></td></tr> <ics:listloop listname="alluserlist"> <tr><td><font face=tahoma size=-1><ics:listget listname="alluserlist" fieldname="NAME"/></font></td></tr> </ics:listloop> </table> </ics:then> <ics:else> <p><b>No Users Found! Error=<ics:geterrno/></p> </ics:else> </ics:if>Release Introduced
This tag was introduced in CS release 4.0.
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.