C# Class Affecto.ActiveDirectoryService.PrincipalSearcher

Inheritance: System.DirectoryServices.DirectorySearcher
Mostrar archivo Open project: affecto/dotnet-ActiveDirectoryService Class Usage Examples

Public Methods

Method Description
FindPrincipal ( string principalAccountName ) : Principal
FindPrincipals ( string ldapFilter ) : IReadOnlyCollection
PrincipalSearcher ( System.DirectoryServices.DirectoryEntry searchRoot, ICollection additionalPropertyNames = null ) : System

Protected Methods

Method Description
FindAllPrincipals ( string filter ) : List
FindSinglePrincipal ( string filter ) : Principal

Private Methods

Method Description
MapToPrincipal ( System.DirectoryServices.SearchResult searchResult ) : Principal

Method Details

FindAllPrincipals() protected method

protected FindAllPrincipals ( string filter ) : List
filter string
return List

FindPrincipal() public method

public FindPrincipal ( string principalAccountName ) : Principal
principalAccountName string
return Principal

FindPrincipals() public method

public FindPrincipals ( string ldapFilter ) : IReadOnlyCollection
ldapFilter string
return IReadOnlyCollection

FindSinglePrincipal() protected method

protected FindSinglePrincipal ( string filter ) : Principal
filter string
return Principal

PrincipalSearcher() public method

public PrincipalSearcher ( System.DirectoryServices.DirectoryEntry searchRoot, ICollection additionalPropertyNames = null ) : System
searchRoot System.DirectoryServices.DirectoryEntry
additionalPropertyNames ICollection
return System