How to get all users and computers in a domain via C#
I was playing around with Active Directory and C# today. I don't pretend to understand anything yet, but you don't need to know anything about Active Directory or LDAP to do stuff against it with C#.
To start with, the classes we're interested in are found in the following namespaces:
System.DirectoryServices;
System.DirectoryServices.ActiveDirectory;
Continue reading "How to get all users and computers in a domain via C#"


