Instructions for Java/ADSI Sample
In order to try this sample, please first follow these directions:
Ensure that FTP is installed on this server.
ASP scripts that access ADSI, such as the example below, require administrator
privileges on the machine on which IIS is running. You therefore must connect through a secure
connection, such as the Windows NT Challenge/Response authentication method. Therefore, use the
Internet Service Manager to set the security authentication method to Windows NT
Challenge/Response for the file "ServerAdmin_test.asp". (In Internet Service Manager, select
properties for this file, and under File Security unclick the checkbox for Allow Anonymous
Access.)
Use the Java Type Library Wizard in VJ++ to import the "Active DS Type Library".
Once you have completed all of these steps, you can try this
example.