Resets or removes the value that is associated with the specified key. If there are default values available for the preference, it will be reset to its default value. If default values are not supported or available, the preference is removed.
This function produces an error if the provided key is null.
portalLib.resetPreference(key String in)
portalLib.resetPreference("username");