rsrccred show
Displays the attributes of a single sign-on credential. The credential identifier is composed of a resource name, a resource type, and a user name.
Requires authentication (administrator ID and password) to use.
rsrccred show resource_name rsrctype {web|group} user user_name
Options
- resource_name
- Name of the single sign-on resource or resource group associated with the credential. The resource or resource group must exist, or an error is displayed.
Examples of resource names are engwebs01 and printerusers.
- rsrctype {web|group}
- Whether the resource type named is web (resource) or group (resource group) for the single sign-on resource associated with the credential. The type of resource must match the resource type assigned when the resource or resource group was first created.
- user user_name
- Name of the user associated with this credential. The user must exist, or an error is displayed.
Examples of user names are dlucas, sec_master, and "Mary Jones".
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 the specified single sign-on credential:
pdadmin sec_master> rsrccred show engwebs01 rsrctype web user dlucasThe output is like:Resource Name: engwebs01 Resource Type: web Resource User Id: dlucas
The following example displays the specified single sign-on credential: pdadmin sec_master> rsrccred show user888 rsrctype group user "Mary Jones"The output is like:Resource Name: printerusers Resource Type: group Resource User Id: Mary Jones
See also
Parent topic: pdadmin commands