Searching for groups in the configured user registry

Use this command to specify a group name criterion and return a list of groups that meet that criterion in the configured user registry. This command should only be used for troubleshooting or recovery.

IBM® WebSphere® Application Server must be running to run this command.

Syntax

Windows cue graphic
DirectoryAdmin.bat -group -search -idp groupid_pattern -max_count maxcount
Linux cue graphicUNIX cue graphic
DirectoryAdmin.sh -group -search -idp groupid_pattern -max_count maxcount

Parameters

The following options are available for the DirectoryAdmin command.
-group
The command line option that specifies that this task is to work with groups.
-search
Specifies that the DirectoryAdmin command should perform a search.
-idp
Specifies the group ID pattern to search for. The pattern must contain either the full group name or, if the full group name is not used, a part of the group name with a prepended or appended asterisk (*). For example, you might want to set -idp group* to return all groups that start with group, such as "groupname" or "grouplogin".
-max_count
Limits the number of groups that are returned as part of the search.