object list

Lists any objects that are grouped under the specified protected object. Alternatively, lists all the extended attributes that are associated with the specified protected object.

Requires authentication (administrator ID and password) to use this command.

Syntax

object list

object list object_name

object list object_name attribute

Options

object list
Lists all protected objects. The output is the same as if you issued the objectspace list command.
object list object_name
Lists all objects that are grouped under the specified protected object. The specified object is the fully qualified name of the object, including the object space within which it is located.
object list object_name attribute
Lists all extended attributes that are associated with the specified protected object. The object must exist, or an error is displayed.

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 Security Access Manager error messages by decimal or hexadecimal codes.

Examples

  • The following example lists all the protected object spaces under the root of the object namespace (/):
    pdadmin sec_master> object list
    Displays a list like:
    /Management
    /MyObjectSpace_1
    ...
    /WebSEAL
  • The following example lists all the protected objects under the protected object named /Management. In this example, both /Management and /Management/ACL are object spaces:
    pdadmin sec_master> object list /Management
    Displays a list like:
    /Management/ACL
    /Management/Action
    /Management/Config
    ...
    /Management/test-object
  • The following example lists the extended attributes for the object named /Management/test-object:
    pdadmin sec_master> object list /Management/test-object attribute
    Displays a list of attributes like:
    test1