<ugm:createGroup> Tag

The <ugm:createGroup> tag reates a new group in the realm, and a corresponding group profile in the personalization 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" %>

After the group is created, use the <profile:createProfile> tag to create a profile for the new group.

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 new group. Example: "<%=groupName%>"

id

Optional (String) - A variable name to which the created Group object is available for the duration of the page's scope.

parentName

Optional (String) - The name of the group to set as the parent of the new group.

result

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

Possible Values:

Example

This example shows how to use <ugm:creategroup> to create a new group.

<ugm:creategroup groupName="<%=groupName%>" result="result"/>

Related Topics

<ugm:createUser> Tag