PrincipalSearcherExtensions..::..GetAllComputerPrincipals Method

Gets all computer principals.

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

Syntax


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

Parameters

principalSearcher
Type: PrincipalSearcher
The principal searcher.

Return Value

IEnumerable<ComputerPrincipal>.