What are the different properties available in System.DirectoryServices.DirectorySearcher.PropertiesToLoad
active-directory, c#, directoryservices
Solution
You can put any of the valid LDAP attributes into `PropertiesToLoad` - see a list of all Active Directory attributes here - what you need is the `Ldap-Display-Name` for each attribute you're interested in.
Also: Richard Mueller has a site with lots of good info on AD and LDAP - including Excel spreadsheets of the AD attributes (and also a mapping from the Active Directory User & Computer tool to the actual AD attributes being set on those various dialog screens.
Problem
Everything I've googled just says you can add them as a string array, but doesn't say what the available options are. What are all the different properties that are available from Directory Services?