The get-attribute command gets the attribute value for a specific component and attribute.
psadmin get-attribute --adminuser uid --passwordfile password-filename [--portal portal-name] --component component-name [--producer producer_id] [--registrationhandle handle] --attribute-name attribute-name [--dn dn] [--debug] [--output output-filename]
psadmin get-attribute -u uid -f password-filename [-p portal-name] --component component-name [--producer producer-id] [--registrationhandle handle] -a attribute-name [-d dn] [--debug] [-O output-filename]
The following options are required:
Specifies the administrator's distinguished name (dn) or the user identification name (uid).
Specifies the administrator's password in the password file.
Specifies the component name. Valid names are: producer, consumer, desktop, mobilemail, mobilecalendar, mobileaddressbook, gateway, netlet, proxylet, netfile, and subscriptions.
Specifies the attribute name. For list of the attribute names for a component, please run the command psadmin list-attributes --component component-name.
The following options are optional:
Specifies the portal name. The --portal option is required when a portal-centric component attribute is being accessed. The following components are portal-centric and you must provide the --portal option for list, get, and set operations while using the following components: desktop, producer, consumer, and subscriptions. For all other components, do not use the -portal option since they are common to all portals.
Specifies the producer id. This is the ID or the name of a producer when the component is producer and it is the ID of a configured producer when the component is consumer. This option is valid only if the component is producer or consumer.
Specifies the registration handle of a producer's consumer registration. The attribute of a producer's consumer registration is returned (not the attribute of a producer itself). This option is valid only if the component is producer.
Specifies the dn of the node. This must be an organization DN when the component is consumer.
Specifies the gateway profile name. This is used only when the component is gateway.
Specifies if debug mode is turned on.
Specifies if the output mode is used.
psadmin get-attribute -u amadmin -f password-file --component desktop -p myPortal --attribute-name AuthorizedAuthlessUserIds [uid=devauthlessanonymous,ou=People,o=DeveloperSample,dc=red,dc=iplanet,dc=com |devauthlessanonymous, uid=authlessanonymous,ou=People,dc=red,dc=iplanet,dc=com | authlessanonymous, uid=commauthlessanonymous,ou=People,o=CommunitySample,dc=red,dc=iplanet,dc=com | commauthlessanonymous, uid=authlessenterprisesample,ou=People,o=EnterpriseSample,dc=red,dc=iplanet,dc=com | authlessenterprisesample]
Successfully completed!