SPObjectSharingInformationUser.Department property

Gets the department for the user.

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

Syntax

'Declaration
Public Property Department As String
    Get
    Friend Set
'Usage
Dim instance As SPObjectSharingInformationUser
Dim value As String

value = instance.Department
public string Department { get; internal set; }

Property value

Type: System.String
The department for the user.

See also

Reference

SPObjectSharingInformationUser class

SPObjectSharingInformationUser members

Microsoft.SharePoint namespace