Managing users and user groups users is necessary on a number of websites, for instance the one you’re using now has different user groups with different duties and levels or authority. If you’ve spent much time developing with Dreamweaver and Classic ASP, you used Dreamweaver’s built in support for user management. If you wanted to create a new user, it was only a point and a click away in the Server Behaviours drop down. Imagine my surprise when, while building my first ASP.NET application, I found no such behaviour I could simply apply. No, I had to figure it out myself and it was far too late to add any extra money to the project budget for overtime! As it turned out, with careful thought and a few Google searches, I was able to craft a page that added new users without duplicates and without killing my weekend.
In this tutorial, the second in my series on Forms based User Authentication and Authorization with Dreamweaver and ASP.NET, we’ll learn how to build a “Create New User” page and a User Management System for assigning Roles to new users by joining them to user groups. If you have not yet read the first of this series, “Multi-Level Forms Authentication with Dreamweaver and ASP.NET: Roles Logins”, I recommend you do so as this tutorial will build upon in depth discussions of the concepts involved found in the first tutorial.