PrincipalSearchResultExtensions..::..GetComputerPrincipals Method

Gets the computer principals.

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

Syntax


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

Parameters

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

Return Value

IEnumerable<ComputerPrincipal>.