<ugm:getTopLevelGroups> Tag

The <ugm: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.taglib.UserManagementTagConstants" %>

Syntax

<tagName attribute="value" />

Attributes

atnProvider

Optional (String) - The name of the authentication provider to use. The default setting is the WebLogic Server DefaultAuthenticator. The authentication provider must provide write access. See Using Multiple Authentication Providers in Portal Development for more information.

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

<ugm:getTopLevelGroups id="topLevelGroups"/>

Related Topics

<ugm:getChildGroupNames> Tag

<ugm:getGroupNamesForUser> Tag

<ugm:getParentGroupName> Tag