isPreferenceReadOnly()

Determines whether the preference that is associated with the given key is read only. This function returns a value of false if the preference can be changed or if the key is unknown.

Syntax

portalLib.isPreferenceReadOnly(
  key STRING in)
returns (value BOOLEAN)
key
A string value that indicates the key of the preference.
value
A Boolean value that indicates whether the preference that is associated with the given key is modifiable.

Example

isReadOnly Boolean = portalLib.isPreferenceReadOnly("username");

Feedback