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)
56public DirectorySearcher() : this(null, defaultFilter, null, System.DirectoryServices.SearchScope.Subtree) 66public DirectorySearcher(DirectoryEntry? searchRoot) : this(searchRoot, defaultFilter, null, System.DirectoryServices.SearchScope.Subtree) 76public DirectorySearcher(DirectoryEntry? searchRoot, string? filter) : this(searchRoot, filter, null, System.DirectoryServices.SearchScope.Subtree) 86public DirectorySearcher(DirectoryEntry? searchRoot, string? filter, string[]? propertiesToLoad) : this(searchRoot, filter, propertiesToLoad, System.DirectoryServices.SearchScope.Subtree) 96public DirectorySearcher(string? filter) : this(null, filter, null, System.DirectoryServices.SearchScope.Subtree) 106public DirectorySearcher(string? filter, string[]? propertiesToLoad) : this(null, filter, propertiesToLoad, System.DirectoryServices.SearchScope.Subtree) 115public DirectorySearcher(string? filter, string[]? propertiesToLoad, SearchScope scope) : this(null, filter, propertiesToLoad, scope)
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\Group.cs (1)
371using (DirectorySearcher ds = new DirectorySearcher(de, "(objectClass=*)", s_member, SearchScope.Base))