search in AD

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How Can I do for search a computer in my Active Directory with c# and .net
framework 1.1?

Thanks
 
sgr said:
How Can I do for search a computer in my Active Directory with c# and .net
framework 1.1?
**********************
You question is not so clear.
Perhaps you should formulate
your question in your native
language.

Adrian.
 
sgr said:
How Can I do for search a computer in my Active Directory with c# and .net
framework 1.1?

Thanks

Take a look at the System.DirectoryServices namespace classes, they are simple wrappers
arround ADSI.

Willy.
 
How Can I do for search a computer in my Active Directory with c# and .net
framework 1.1?

You'll need to use the System.DirectoryServices namespace and more
precisely the DirectorySearcher class from within that.

There's a really good list of quick C# samples of using S.DS here:
http://msdn.microsoft.com/library/d...us/sds/sds/using_system_directoryservices.asp

Basically, you need to set up a DirectorySearcher, with a starting
point and some options as to what to look for, and what attributes to
load for any object found.

Marc
 
Back
Top