D.32. tarantella object list_attributes

Lists the attributes of an object in the organizational hierarchy.

Syntax

tarantella object list_attributes { --name obj
                                    [ --attribute... ]
                                  } | --file file

Description

The following table shows the available options for this command.

Option

Description

--name

Specifies the name of the object you want to list the attributes of.

{--attribute [value]}...

Specifies the attribute names you want to list. The valid attributes depend on the type of object. See the tarantella object new_object_type documentation for the appropriate list. For example, when listing attributes for an application object you can specify --displayusing to edit the Section C.2.127, “Window Type” attribute.

--file

Specifies a file containing a batch of commands to list attributes.

Note

Make sure you quote any object names containing spaces, for example, "o=Example".

Examples

The following example lists all attributes for the Sales organizational unit.

$ tarantella object list_attributes \
--name "o=Example/ou=Sales"

The following example lists the Section C.2.45, “Email Address” and Section C.2.70, “Login” attributes for the user profile object for Rusty Spanner.

$ tarantella object list_attributes \
--name "o=Example/ou=IT/cn=Rusty Spanner" \
--email --enabled