PrincipalSearcherExtensions..::..GetAllUserPrincipals Method

Gets all user principals.

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

Syntax


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

Parameters

principalSearcher
Type: PrincipalSearcher
The principal searcher.

Return Value

IEnumerable<UserPrincipal>.