createGroup command

Use this command to create a new group.

Purpose

Use the createGroup command to create a new group in the default repository.

If successful, the createGroup command returns the unique name of the group.

Syntax

createGroup { -cn cn [-description description] [-parent parent]
             [-memberUniqueName memberUniqueName]}

Parameters

-cn commonname
Specifies the common name for the group that you want to create. . This parameter maps to the cn property in virtual member manager.
-description description
Specifies additional information about the group that you want to create. This parameter maps to the description entity in a virtual member manager object.
-parent parent
Specifies the repository in which you want to create the group. This parameter maps to the parent property in virtual member manager.
-memberUniqueName memberUniqueName
Specifies the unique name value for the user or group that you want to add to the new group. This parameter maps to the uniqueName property in virtual member manager.

Sample

To create a group called groupA, issue this command:
$AdminTask createGroup {-cn groupA}
To create a group called groupA and describe it as a group of administrators, issue this command:
$AdminTask createGroup {-cn groupA –description "a group of admins"  }


Terms of use | Feedback

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.wim.doc/creategroupcommand.html