UserPrincipalExtensions..::..GetDirectReportDistinguishedNames Method

Gets the direct report distinguished names.

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

Syntax


public static IEnumerable<string> GetDirectReportDistinguishedNames(
	UserPrincipal userPrincipal
)
Public Shared Function GetDirectReportDistinguishedNames ( _
	userPrincipal As UserPrincipal _
) As IEnumerable(Of String)
public:
static IEnumerable<String^>^ GetDirectReportDistinguishedNames(
	UserPrincipal^ userPrincipal
)

Parameters

userPrincipal
Type: UserPrincipal
The user principal.

Return Value

IEnumerable<System.String>.