Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Supported commands > User and group management commands


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.

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 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

Common name for the group 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

Repository in which to create the group. This parameter maps to the parent property in virtual member manager.

-memberUniqueName memberUniqueName

Unique name 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

Name that uniquely identifies the security domain. If not specified, 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"  }

Parent topic: User and group management commands
Command format



+

Search Tips   |   Advanced Search