I had to do some development using the User object in Active Directory last week. Here are some links which might help you as well:
- Research LDAP properties for the User object : it is not always obvious which is the internal name of a certain LDAP attribute - this page shows you the most commonly used.
- Make sure that you use the correct way to retrieve data from AD. Doing it the wrong way will end you up with code which runs as fast as your grandmother - take a look at Retrieving data from Active Directory with System.DirectoryServices - the right way
- If you need to select a certain group of users - you will need to know how to write some LDAP queries - start with LDAP query basics . If you need to modify some properties for testing purposes - take a look at ADModify.Net .