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 the department name of the principal.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Department As String
Get
'Usage
Dim instance As SPPrincipalInfo
Dim value As String
value = instance.Department
[ClientCallableAttribute]
public string Department { get; }
Property Value
Type: System.String
A string that contains the department name.