PrincipalSearcherExtensions..::..GetAllGroupPrincipals Method

Gets all group principals.

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

Syntax


public static IEnumerable<GroupPrincipal> GetAllGroupPrincipals(
	PrincipalSearcher principalSearcher
)
Public Shared Function GetAllGroupPrincipals ( _
	principalSearcher As PrincipalSearcher _
) As IEnumerable(Of GroupPrincipal)
public:
static IEnumerable<GroupPrincipal^>^ GetAllGroupPrincipals(
	PrincipalSearcher^ principalSearcher
)

Parameters

principalSearcher
Type: PrincipalSearcher
The principal searcher.

Return Value

IEnumerable<GroupPrincipal>.