group show
Shows the properties of the specified group.
Requires authentication (administrator ID and password) to use.
group show group_name
group show-dn dn
group show-members group_name
Options
- show group_name
- Shows the properties of the group specified by group_name. The group must exist, or an error is displayed.
Examples of group names are Credit, Sales, and Test-group.
- show-dn dn
- Shows the group specified by the group identifier in the user registry. The returned group is defined in the user registry, but it is not necessarily an ISAM group. Groups that are not Security Verify Access groups can be imported into ISAM by use of the group import command. For example, the format for a distinguished name is like "cn=engineering,ou=Austin,o=Tivoli,c=us".
- show-members group_name
- Lists the user names of the members of the specified group. The group must exist, or an error is displayed.
Examples of group names are Credit, Sales, and Test-group.
Return codes
- 0
- The command completed successfully.
- 1
- The command failed. When a command fails, the pdadmin command provides a description of the error and an error status code in hexadecimal format (for example, 0x14c012f2).
See "Error messages" in the IBM Knowledge Center. This reference provides a list of the ISAM error messages by decimal or hexadecimal codes.
Examples
- The following example displays properties of the credit group:
pdadmin sec_master> group show creditThe output is like:Group ID: credit LDAP dn: cn=credit,ou=Austin,o=Tivoli,c=US Description: Credit, Dept HCUS LDAP cn: credit Is SecGroup: yes
The following example displays properties specified by the identifier of the group, cn=credit,ou=Austin,o=Tivoli,c=US in the user registry: pdadmin sec_master> group show-dn cn=credit,ou=Austin,o=Tivoli,c=USThe output is like:Group ID: credit LDAP dn: cn=credit,ou=Austin,o=Tivoli,c=US Description: Credit, Dept HCUS LDAP cn: credit Is SecGroup: yes
The following example lists the user names of the members of the credit group: pdadmin sec_master> group show-members creditThe output is like:dlucas mlucaser
See also
Parent topic: pdadmin commands