PrincipalSearchResultExtensions..::..GetGroupPrincipals Method

Gets the group principals.

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

Syntax


public static IEnumerable<GroupPrincipal> GetGroupPrincipals(
	PrincipalSearchResult<Principal> principalSearchResult
)
Public Shared Function GetGroupPrincipals ( _
	principalSearchResult As PrincipalSearchResult(Of Principal) _
) As IEnumerable(Of GroupPrincipal)
public:
static IEnumerable<GroupPrincipal^>^ GetGroupPrincipals(
	PrincipalSearchResult<Principal^>^ principalSearchResult
)

Parameters

principalSearchResult
Type: PrincipalSearchResult<(Of <(<'Principal>)>)>
The principal search result.

Return Value

IEnumerable<GroupPrincipal>.