October 28, 2016
Hot Topics:

ADSI for Beginners

  • November 19, 2002
  • By Sam Huggill
  • Send Email »
  • More Articles »

In this example we are going to build our own web based management system using the concepts presented in this article.

The demo will have a backend VB DLL, and two interfaces that should be useful. The first interface is a standard VB Client interface, allowing you to perform the following:

-View all users in a group
-Remove a user
-Add a user
-Change a user's password
-Reset a user's password

There is also a simple ASP interface, that provides all of the above features bar viewing all the users in a group (this is due to VB Scripts lack of support for collections).

To get all this to work you will have to download the demo project from here:http://www.vbsquare.com/demos/adsi-demo/

Unzip the lot, and register the prjAdmin.DLL file on your web server (must be IIS). Place the ASP files in your wwwroot area somewhere, and point your browser to default.asp. From there you can test out the DLL. Make sure that you enter the correct details in the forms, otherwise errors may occur (there is no error handling currently!)

The VB client requires the DLL to be registered but can be run normally to see how VB interacts with our component. The source code for the DLL is included, so have a look around and see how it all works.

If you have any problems don't hesitate to email me at: sam@vbsquare.com

Page 5 of 5

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Sitemap | Contact Us

Thanks for your registration, follow us on our social networks to keep up-to-date
Rocket Fuel