Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the user department.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property UserDepartment As String
Get
Set
'Usage
Dim instance As SPRatingUsageEntry
Dim value As String
value = instance.UserDepartment
instance.UserDepartment = value
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.