>Are there any classes available to extract data from the active directory? I want to create an ASP page that will allow the user to change their password on the network. The default .htr page that comes with IIS is very clunky. If the user imputs a password that is too short, or if they have used the password before, the page just looks at them stupid. I need to extract the security properties from the active directory so that I can compare the string length, and even determine if they have used the same password before if possible. This way I could tell them why their password change failed and allow them to try again. Any suggestions?
Use ADIS - it's got just what you need. I use Wrox Press' "ADSI ASP Programmer's Reference" as an initial guidebook; Rick Strahl has a great whitepaper on ADSI and VFP on his site
www.west-wind.com and I think Mike Stewart has posted samples in the MSKB. In addition, the Windows Scripting Newsletters and sites I list in my sig blocks have a wealth of sample code to do exactly what you're trying to do. Now get out there and read some web pages! < g >