# <um:removeGroup> Tag

The <um:removeGroup> tag removes the group corresponding to the provided groupName. This tag has no enclosed body.

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

groupName

Required (String) - The name of the group to be removed. Example: "<%=groupName%>".

result

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

Possible Values:

- Success: UserManagementTagConstants.REMOVE_GROUP_OK.
- Error encountered: UserManagementTagConstants.REMOVE_GROUP_FAILED.

## Example

This example shows how to use <um:removeGroup> to remove a group that corresponds to the provided groupName.

    <um:removeGroup groupName="<%=groupName%>" result="result"/>

Related Topics

<um:removeGroupFromGroup> Tag

<um:removeUserFromGroup> Tag

<um:removeUser> Tag