# <um:removeGroupFromGroup> Tag

The <um:removeGroupFromGroup> tag removes a child group from a parent group.

Execution of this tag requires the logged in user to have administrator rights.

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

childGroupName

Required (String) - The name of the child group to remove from its parent.

parentGroupName

Required (String) - The name of the parent group from which the child group will be removed.

result

Required (String) - The name of an Integer variable to which the result of the remove group from group operation is assigned.

Possible values:

- Success: UserManagementTagConstants.REMOVE_GROUP_OK.
- Failure: UserManagementTagConstants.REMOVE_GROUP_FAILED.

## Example

This example shows how to use <um:removeGroupFromGroup> to remove a child group from a parent group.

    <um:removeGroupFromGroup childGroupName="<%=salesteam%>" parentGroupName="<%=humanresources%>
    result="result" />

Related Topics

<um:removeGroup> Tag

<um:removeUserFromGroup> Tag

<um:removeUser> Tag