How can one access the OtherAccount attributes from the CLITOOL.jar java API ?

Document ID : KB000046515
Last Modified Date : 14/02/2018
Show Technical Document Details

Question

What method can I use to access the different  OtherAccount attributes for a TARGET_ACCOUNT using the clitool.jar ?

 

Answer

 

The OtherAccount attributes are extended attributes.

useOtherAccountToChangePassword, for instance is an 'extended attribute' (often simply referred to as an attribute though).

Extended attributes are used to store any target application specific information (basically, any field that isn't present in Generic applications/accounts).

These can also be identified by their constants, which are prefixed with 'ATTRIBUTE_' (for example, ATTRIBUTE_USE_OTHER_ACCOUNT). 

Extended attributes are NOT properties of the various objects. These attributes are queried & modified by using the getExtendedAttribute(), getExtendedAttributeValue(), setExtendedAttribute(attribute) and setExtendedAttribute(attributeName, value) etc. )

These are the methods you need to use in java.