10 references to DirectorySearcher
System.DirectoryServices (9)
System\DirectoryServices\ActiveDirectory\ADSearcher.cs (2)
15
_searcher = new
DirectorySearcher
(searchRoot, filter, propertiesToLoad, scope);
31
_searcher = new
DirectorySearcher
(searchRoot, filter, propertiesToLoad, scope);
System\DirectoryServices\DirectorySearcher.cs (7)
56
public DirectorySearcher() :
this
(null, defaultFilter, null, System.DirectoryServices.SearchScope.Subtree)
66
public DirectorySearcher(DirectoryEntry? searchRoot) :
this
(searchRoot, defaultFilter, null, System.DirectoryServices.SearchScope.Subtree)
76
public DirectorySearcher(DirectoryEntry? searchRoot, string? filter) :
this
(searchRoot, filter, null, System.DirectoryServices.SearchScope.Subtree)
86
public DirectorySearcher(DirectoryEntry? searchRoot, string? filter, string[]? propertiesToLoad) :
this
(searchRoot, filter, propertiesToLoad, System.DirectoryServices.SearchScope.Subtree)
96
public DirectorySearcher(string? filter) :
this
(null, filter, null, System.DirectoryServices.SearchScope.Subtree)
106
public DirectorySearcher(string? filter, string[]? propertiesToLoad) :
this
(null, filter, propertiesToLoad, System.DirectoryServices.SearchScope.Subtree)
115
public DirectorySearcher(string? filter, string[]? propertiesToLoad, SearchScope scope) :
this
(null, filter, propertiesToLoad, scope)
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\Group.cs (1)
371
using (DirectorySearcher ds = new
DirectorySearcher
(de, "(objectClass=*)", s_member, SearchScope.Base))