# <ugm:removeGroupFromGroup> Tag

The <ugm: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.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.

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 <ugm:removeGroupFromGroup> to remove a child group from a parent group.

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

Related Topics

<ugm:removeGroup> Tag

<ugm:removeUserFromGroup> Tag

<ugm:removeUser> Tag