I’m looking to develop an application which will have three different types of users, upon login they will be either type 1, 2 or 3. I need user type 1 to be able to create accounts of type 2 and 3.
Is the best way to go about this using roles? And if so could anyone direct me to an article that would help me out, I’m currently having trouble trying to work out how to have a set amount of accounts and only let them login the system, then once they are logged in they can only access and modify the database in a way their type of account can.
It sounds like your app would be a good candidate to use the built in membership and roles providers. By using the built in providers you can save yourself reinventing the wheel. Check out the links from the following page:
ASP.NET 2.0 Membership and Roles Tutorial Series