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


createUser command

Use this command to create a new user.


Purpose

Use the createUser command to create a new user in the default repository or the repository specified by the parent parameter of the command. The command creates a PersonAccount entity in the default realm.

If successful, the createUser command returns the unique name of the newly created user.

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

createUser { -uid uid -cn commonname -sn surname
             -password password [-confirmPassword password]
              [-mail mail] [-parent parent] [-securityDomainName domainName] }


Parameters

-uid uid

Unique ID for the user to create. Virtual member manager then creates a uniqueId value and a uniqueName value for the user. This parameter maps to the uid property in virtual member manager.

-password password

Password for the user. This parameter maps to the password property in virtual member manager.

-confirmPassword password

Password again to validate how it was entered on the password paremeter. This parameter maps to the password property in virtual member manager.

-cn commonname

First name or given name of the user. This parameter maps to the cn property in virtual member manager.

-sn surname

Last name or family name of the user. This parameter maps to the sn property in virtual member manager.

-mail mail

E-mail address of the user. This parameter maps to the ibm-PrimaryEmail property in virtual member manager.

-parent parent

Repository in which to create the user. This parameter maps to the parent 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 user named Dan Meyers with a unique ID of dmeyers, an e-mail address of dmeyers@acme.com, and a password of tempPass, issue this command:
$AdminTask createUser {-uid dmeyers –password tempPass -confirmPassword tempPass
                       –cn Dan –sn Meyers –mail dmeyers@acme.com}

Parent topic: User and group management commands
Command format



+

Search Tips   |   Advanced Search