IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side API


Return the local value of a specified user preference.

Parameter Description
key The user preference key.

Return Value

The value of the user preference or NULL if there is no user preference with the specified key.


An exception is thrown when invalid parameters are passed to the function.

Parent JavaScript client-side API