Checking to see if a user exists in the configured user registry

Use this command to see if a user name exists in the configured user registry. Use this command only for troubleshooting or recovery, or if it is specified in other procedures in the documentation.

The application server must be running to run this command.

Syntax

Windows cue graphic
DirectoryAdmin.bat -user -userid username -checkid [-admin]
Linux cue graphicUNIX cue graphic
DirectoryAdmin.sh -user -userid username -checkid [-admin]

Parameters

The following options are available for the DirectoryAdmin command.
-user
The command line option that specifies that this task is to work with users.
-userid username
Specifies the name of the user to search for. Note that the user ID syntax differs depending on the type of user registry that is configured in the application server.
Local OS on UNIX
Provide the UNIX user ID, such as "isadmin."
Local OS on Windows
COMPUTER_NAME\userid, such as MYSERVER\isadmin where MYSERVER is the name of the Microsoft Windows computer. If the Microsoft Windows computer is registered in a domain, the syntax might also be DOMAIN_NAME\userid. The name must be uppercase.
LDAP
The full distinguished name (DN) must be provided in the proper case. For more information on retrieving the DN, refer to LDAP distinguished name (DN) determination.
Note: To include users with long and composed user IDs, like LDAP fully qualified names, surround the user IDs with double quotation marks when using the command.
-checkid
Ensures that the given user ID already exists in the configured directory before creating or updating the user in the security directory.
-admin
(Optional) Assigns theIBM InfoSphere Information Server Suite Administrator role to the user, if the user exists.