PrincipalContextExtensions..::..FindPrincipalsByDistinguishedNames Method

Finds the principals by distinguished names.

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

Syntax


public static IEnumerable<Principal> FindPrincipalsByDistinguishedNames(
	PrincipalContext principalContext,
	IEnumerable<string> distinguishedNames
)
Public Shared Function FindPrincipalsByDistinguishedNames ( _
	principalContext As PrincipalContext, _
	distinguishedNames As IEnumerable(Of String) _
) As IEnumerable(Of Principal)
public:
static IEnumerable<Principal^>^ FindPrincipalsByDistinguishedNames(
	PrincipalContext^ principalContext, 
	IEnumerable<String^>^ distinguishedNames
)

Parameters

principalContext
Type: PrincipalContext
The principal context.
distinguishedNames
Type: IEnumerable<(Of <(<'String>)>)>
The distinguished names.

Return Value

IEnumerable<Principal>.