<ugm:getParentGroupName> Tag

The <ugm:getParentGroupName> tag retrieves the name of the parent of the group associated with the provided groupName. 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

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.

groupName

Required (String) - The name of the group whose parent group name is sought. Example: "<%=groupName%>"

id

Required (String) - A variable name to which the name of the parent is available for the duration of the page's scope. Example: "parentGroupName". If there is no parent, the variable value is null.

Example

This example shows how to use <ugm:getParentGroupName> to retrieve a parent group name.

<ugm:getParentGroupName groupName="<%=groupName%>" id="parentGroupName"/>

Related Topics

<ugm:getChildGroupNames> Tag

<ugm:getGroupNamesForUser> Tag

<ugm:getTopLevelGroups> Tag