ASP.NET
  Home arrow ASP.NET arrow User and Role Management for an ASP.NET AJ...
Iron Speed
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

User and Role Management for an ASP.NET AJAX Server-Centric Based Online Shopping Website
By: Xianzhong Zhu
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2007-12-19

    Table of Contents:
  • User and Role Management for an ASP.NET AJAX Server-Centric Based Online Shopping Website
  • Role Management
  • New Role
  • User Management
  • Deleting the Selected User
  • Adding Background Users

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    Iron Speed
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    User and Role Management for an ASP.NET AJAX Server-Centric Based Online Shopping Website
    (Page 1 of 6 )

    This part, the fourth in an eleven-part series, covers part of the background management. By creating roles, we can divide the users into different kinds of roles who hold different rights in the application. By creating background users we can at the same time assign them different kinds of roles to more efficiently control the whole system.
    A downloadable .rar file is available for this article.

    Now let’s explore the role-related tasks.

    Role Management

    Role management is accomplished through the "RoleManage.aspx" page. We can enumerate its functionalities as follows:

    1. Display the present roles in an ASP.NET ListBox control. 
    2. Provide hyperlinks to add new roles. 
    3. Provide hyperlinks to modify ready roles. 
    4. Delete current roles.

    Author's Note: I want to stress three points. First, to further enhance the safety of the whole system, this part of role management is designed to be independent of other modules, and i.e. it should be launched independently. Second, this part of role management has also been designed to follow traditional pure ASP.NET models. Thus, we mainly dwell on the operating principles of the modules. Third, although we provide the functionalities of adding, modifying, and deleting roles this is just for more flexibility in real world applications. In this example, however, we are merely concerned with three types of roles: ‘Super Administrator’, ‘Supplier’, and ‘Common Customer’. Although we can change their names, they do take on three different types of roles, which will be more carefully studied in the last part of the sample application.

    More ASP.NET Articles
    More By Xianzhong Zhu


     

    ASP.NET ARTICLES

    - Building a Simple Storefront with LINQ
    - Developing a Dice Game Using ASP.NET Futures...
    - Completing an ASP.NET AJAX Server-Centric Ba...
    - Information Management for an ASP.NET AJAX S...
    - Comment and Order Management for an ASP.NET ...
    - Back-end Management Tasks for an ASP.NET AJA...
    - User Information Management for an ASP.NET A...
    - Adding Comments and Search to an ASP.NET AJA...
    - Order-Related Modules for an ASP.NET AJAX Se...
    - User and Role Management for an ASP.NET AJAX...
    - Programming an ASP.NET AJAX Server-Centric B...
    - Tables and Relationships for an ASP.NET AJAX...
    - Building an ASP.NET AJAX Server-Centric Base...
    - Finishing an Introductory Look at CIL
    - An Introduction to CIL




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway