<ugm:removeUser> Tag

The <ugm:removeUser> tag removes the user corresponding to the provided username. It can remove any type of extended user that has its profileType set in the database. 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.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.

username

Required (String) - The username of the user to be removed. Example: "<%=username%>".

result

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

Possible values:

Example

This example shows how to use <ugm:removeUser> to remove a user.

<ugm:removeUser username="<%=username%>" result="result"/>

Related Topics

<ugm:removeUserFromGroup> Tag

<ugm:removeGroupFromGroup> Tag

<ugm:removeGroup> Tag