# <um:getChildGroupNames> Tag

The <um:getChildGroupNames> tag returns the names of any groups that are children of the given group.

Note: All User Management tags send results to the same file. If you are checking for results, include this import statement at the top of the page: <%@ page import="com.bea.p13n.usermgmt. servlets.jsp.tags.UserManagementTag- Constants" %>

## Syntax

<tagName attribute="value" />

## Attributes

groupName

Required (String) - The name of the group to search for child groups.

id

Required (String) - The name of the identifier which will be assigned the String array of child group names. If there are no children, the array will be zero length.

## Example

This example shows how to use <um:getChildGroupNames> to retrieve the names of a child group for the group SomeGroup.

    <um:getChildGroupNames groupName="SomeGroup" id="childrenOfSomeGroup" />

Related Topics

<um:getGroupNamesForUser> Tag

<um:getParentGroupName> Tag

<um:getTopLevelGroups> Tag