I've almost given up on this. I want to be able to access some different AD fields using ASP. (We've only been on AD for a couple of months now). I can use:
and this will give a list of all users and their "Full Name", which I think equates to Description. But from what I've found, I need to use LDAP get get more specific, and it also looks like I need the OU of the user to do that. Is that true? How do I know the user's ou ahead of time? Can anyone help me understand this and make it work the way I want?
Code:
set cont = GetObject("WinNT://apollo")
for each obj in cont
response.write obj.name & "-" & obj.fullName & "<BR>"
next
and this will give a list of all users and their "Full Name", which I think equates to Description. But from what I've found, I need to use LDAP get get more specific, and it also looks like I need the OU of the user to do that. Is that true? How do I know the user's ou ahead of time? Can anyone help me understand this and make it work the way I want?