search in AD

G

Guest

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

Thanks
 
A

> Adrian

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.
 
W

Willy Denoyette [MVP]

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.
 
M

Marc Scheuner

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top