# <um:getTopLevelGroups> Tag

The <um:getTopLevelGroups> tag retrieves an array of group names, each of which has no parent group. The information is taken from the realm. This tag has no enclosed body.

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

id

Required (String) - A variable name to which the top-level Group names, stored as a String, are available for the duration of the page's scope. Example: "topLevelGroups".

## Example

    <um:getTopLevelGroups id="topLevelGroups"/>

Related Topics

<um:getChildGroupNames> Tag

<um:getGroupNamesForUser> Tag

<um:getParentGroupName> Tag