networked computer name

  • Thread starter Thread starter J
  • Start date Start date
J

J

hi, i am working on a project and part of it is I need to get all the computers
name in a same domain, this is new to me, and i have no idea where to start.
please help.
thanks in advance,
 
J said:
hi, i am working on a project and part of it is I need to get all the computers
name in a same domain, this is new to me, and i have no idea where to start.
please help.
thanks in advance,

Use .NET's active directory services to query the domain's active
directory: System.DirectoryServices. In there you'll find classes which
do what you need. :)

Frans

--
 
J said:
hi, i am working on a project and part of it is I need to get all the
computers
name in a same domain, this is new to me, and i have no idea where to
start.
please help.
thanks in advance,

Check the System.DirectoryServices namespace classes, but before you do,
make sure you are a bit familiar with ADSI.

I suggest you to start reading this:
Active Directory Technology Backgrounder
and
Introduction to Active Directory Objects

another valuable resource is the platform SDK - System.DirectoryServices
topic (download :
http://www.microsoft.com/downloads/...43-e24f-4ea3-a93e-40c0ec4f68e5&DisplayLang=en)

Willy.
 
Thanks, guys.
But how about a mixed environment? Like Windows NT4 and Windows server 2003? And
one of the domain server is located on Windows NT4? Any suggestions?
Thanks.
Jason
 
Back
Top