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.

Note: If the Use global security settings option is selected for the user realm or the Global federated repositories option is selected as the realm type for the specified domain, this command is executed on the federated repository of the admin domain. However, configuration changes that are performed on the domain are applied to the security domain-specific configuration.

Syntax

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

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.
-securityDomainName domainName
Specifies the name that uniquely identifies the security domain. If you do not specify this parameter, the command uses the global federated repository.

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