I
Ivan G.
Hi.
I'm trying to search active directory for users like this:
DirectoryEntry entry = new DirectoryEntry(); //use default domain
DirectorySearcher searcher = new DirectorySearcher(entry,
"(|(objectclass=person)(objectclass=user))");
SearchResultCollection result = searcher.FindAll();
foreach(SearchResult r in result)
{
....
But it finds nothing when calling from web service. When doing the same from
normail application result are what expected. Why?
Thanx.
I'm trying to search active directory for users like this:
DirectoryEntry entry = new DirectoryEntry(); //use default domain
DirectorySearcher searcher = new DirectorySearcher(entry,
"(|(objectclass=person)(objectclass=user))");
SearchResultCollection result = searcher.FindAll();
foreach(SearchResult r in result)
{
....
But it finds nothing when calling from web service. When doing the same from
normail application result are what expected. Why?
Thanx.