HP Anywhere API Reference
getUserSetting Method
setting category ID
setting context ID
setting ID
Returns the value of a user setting.
Do not invoke this method on a multi-value setting.
Syntax
java.lang.String getUserSetting( 
   java.lang.String categoryID, 
   java.lang.String contextID, 
   java.lang.String settingID 
)

Parameters

categoryID
setting category ID
contextID
setting context ID
settingID
setting ID

Return Value

The value of the setting or null if it is empty. A setting is empty if it was not configured by the user and there is no default.
Exceptions
ExceptionDescription
com.hp.btoaw.integration.service.exception.MissingSettingExceptionAn exception is thrown if user tries to get a setting using a non-existing contextID/categoryID/settingID
com.hp.btoaw.integration.service.exception.InvalidSettingTypeException
Since
HP Anywhere 10.00
See Also

Reference

UserSettingsService Interface
UserSettingsService Members