UserPrincipalExtensions..::..GetDepartment Method

Gets the department.

Namespace:  MichaelBrandonMorris.Extensions.PrincipalExtensions
Assembly:  MichaelBrandonMorris.Extensions.PrincipalExtensions (in MichaelBrandonMorris.Extensions.PrincipalExtensions.dll)

Syntax


public static string GetDepartment(
	UserPrincipal user
)
Public Shared Function GetDepartment ( _
	user As UserPrincipal _
) As String
public:
static String^ GetDepartment(
	UserPrincipal^ user
)

Parameters

user
Type: UserPrincipal
The user.

Return Value

System.String.