Associates the specified array of String values with the given key in the preference store.
This function produces an error if the preference is read only.
portalLib.setPreferenceValue(
key STRING in,
value STRING[] in)
myValues String[2] {"value1", "value2"}
portalLib.setPreferenceValue("username", myValues);