This class provides a method for managing the Preferences menu. This class has no constructor; its only method is accessed with the s_pref global object.
Use this method to refresh the Preferences menu automatically.
Return:
Example:
s_form.save().then(async (sysId) => { await s_user.setPreference('application', s_form.getValue('pack_application_id')); await s_user.setPreference('vcs.localPack.current', sysId); await s_pref.refresh(); }).finally(__resolveServerResponse);