Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2006

Tip: Looking for answers? Try searching our database.

search in AD

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sgr - 23 Nov 2006 17:18 GMT
How Can I do for search a computer in my Active Directory with c# and .net
framework 1.1?

Thanks
> Adrian < - 23 Nov 2006 21:31 GMT
> 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.
Willy Denoyette [MVP] - 23 Nov 2006 21:43 GMT
> 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.
Kodali Ranganadh - 24 Nov 2006 05:55 GMT
Hi Willy,

See this link, May be this will be helpfull to u.

http://www.c-sharpcorner.com/Code/2002/Aug/ListAllComps.asp

In this Example u can find the "How to get the Listing all Computer in
Active Directory" ..

All the Best ..

On Nov 24, 2:43 am, "Willy Denoyette [MVP]"
<willy.denoye...@telenet.be> wrote:

> > How Can I do for search a computer in my Active Directory with c# and .net
> > framework 1.1?
[quoted text clipped - 3 lines]
>
> Willy.
Marc Scheuner - 24 Nov 2006 05:40 GMT
>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/default.asp?url=/library/en-us/sds/sds/using_s
ystem_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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.