Share via


SPRatingUsageEntry.UserDepartment property

NOTE: This API is now obsolete.

Gets or sets the user department.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Rating usage collection is no longer necessary for the new analytics platform.")> _
Public Property UserDepartment As String
    Get
    Set
'Usage
Dim instance As SPRatingUsageEntry
Dim value As String

value = instance.UserDepartment

instance.UserDepartment = value
[ObsoleteAttribute("Rating usage collection is no longer necessary for the new analytics platform.")]
public string UserDepartment { get; set; }

Property value

Type: System.String
The user department.

Remarks

Used by Microsoft SharePoint Server 2010 to support the What's Popular List (Popular Searches and Popular Search Results) to scope the list to a specific user department.

See also

Reference

SPRatingUsageEntry class

SPRatingUsageEntry members

Microsoft.SharePoint.Administration namespace