Share via


SPPrincipalInfo.Department property

Gets the department name of the principal.

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

Syntax

'Declaration
Public ReadOnly Property Department As String
    Get
'Usage
Dim instance As SPPrincipalInfo
Dim value As String

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

Property value

Type: System.String
A string that contains the department name.

See also

Reference

SPPrincipalInfo class

SPPrincipalInfo members

Microsoft.SharePoint.Utilities namespace