PropertiesToLoad in directorySearcher (for active directory)

manared

Well-known member
Joined
Jun 1, 2006
Messages
84
Programming Experience
1-3
I'm using the directorySearcher in my vb.net 2005 for getting info from active directory. My question is, how do I know what properties I can add? For the PropertiesToLoad, I'm not sure what I can and can't use. One thing I want right now for example, is the social security number. Or if there is a way to put in active directory someone's supervisor. Does anyone know how I can figure this out? If it's all universal names or if all properties are different depending on what is put into active directory? Thanks!

(I'm using vb.net 2005)
 
Try using the "manager" attribute......... to get details for the manager, you will need to get its distinguishedName, bind to it, and retrieve user properties.
 
Last edited:
Back
Top