Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UserPreference members

Provides methods to access the Search user preference.

The UserPreference type exposes the following members.

  Name Description
Public property CustomString Gets or sets the custom string of the UserPreference.
Public property QueryLanguages Gets or sets the query languages for the preference picked by the user.
Top
  Name Description
Public method Static member ClearUserClickHistory
Public method DisableCustomSetting Disables the custom setting of the Search user preference.
Public method DisableSetting Disables a user Search preference.
Public method EnableCustomSetting Enables the custom setting of the user Search preferences.
Public method EnableSetting Enables a user Search preference.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Static member GetUserPreference() Retrieves the Search user preference information.
Public method Static member GetUserPreference(Boolean) Retrieves the Search user preference information.
Public method Static member GetUserPreference(Boolean, SPContext) Get the UserPreference from databse
Public method IsCustomSettingEnabled Determines whether the custom setting of the Search user preference is enabled.
Public method IsSettingEnabled Determines whether a user preference is enabled.
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member SetUserPreference Stores the Search user preference information to the Search administration database.
Public method ToString (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.