Last post Oct 14, 2005 04:57 PM by dstein
Oct 12, 2005 10:11 PM|dstein|LINK
Oct 14, 2005 04:57 PM|dstein|LINK
To elaborate on this a bit, I have the following code that works via ASP on IIS6. I'm just looking for some sort of "port" version in ASP.NET so I can see (clearly) how to make it work in the new environment (if that's even possible). I can also use ADO
to connect to AD and query that way (which provides LDAP properties not available via the WinNT provider). So far, the only examples I've been pointed to for doing this in ASP.NET involve over a hundred lines of code. I hope that's not the end-all answer,
which is why I'm making one last attempt here to see if anyone can point me in a better direction.
Set objDom = GetObject("WinNT://domain")
objDom.Filter = Array("user")
For each obj in objDom
Response.Write obj.Name & "<br>"