Maybe I'm going about this wrong

Ok I'm putting aside what little I have done and I am starting over for now. What is the best way is the best way to poll for a list of computers in a specific OU for Active directory? Assume I have full access to the Domain and Active Directory.

The problem I'm running into is that on MSDN the "interfaces" that they have for C++ don't have the kind of sample code I'm looking for. Also what little is there, even with the language filter on, looks like VBS! What am I missing?
http://msdn.microsoft.com/en-us/library/aa772170(v=vs.85).aspx

http://msdn.microsoft.com/en-us/library/aa746483(v=vs.85).aspx
This example is a bit old, it's for VC++6.

http://www.15seconds.com/issue/020730.htm - for .NET

Essentially, you can use an LDAP connection to get most information from an AD.
Topic archived. No new replies allowed.