@servicenow/sdk - v4.7.0
    Preparing search index...

    Function UserPreference

    • Creates a User Preference (sys_user_preference).

      Parameters

      • config: UserPreference

        an object containing the following properties:

        • $id - unique id for the record, typically using Now.ID["value"]
        • name - name of the feature or functionality
        • type - the data type of entry accepted for the value
        • value - current setting for this record
        • description? - short description of the feature or functionality
        • system? - whether this record indicates the system-wide default

      Returns UserPreference