Globalizing Web Community Menu

Home
Mission
Message
Blog
Downloads
Favorite Links
Thanks
Invitation
Coty

     
Login or Register
Information Site

Back To Blog

Archive Links


August 18, 2006


February 25, 2006
February 8, 2006
January 15, 2006
November 16, 2005
October 31, 2005
October 1, 2005
September 20, 2005
September 3, 2005


   

9/23/2008

Testing User Management system provided by the new 2.0 Login functions

As I intend to create a new Web site, which is dedicated to helping others create their blogs in biligual formats, I decided to recreate the pages related with user management fresh, rather than importing them from the existing Vista development area, and test each step for future reference.


The new functions provided under the Login section as well as the Role Management API are intented to automate various user management coding and use "aspnetdb" as their default database. This database is generated automatically by using "ASP.NET SQL Server Setup Wizard", which is invoked from "Visual Studio Command Prompt"

In the "aspnetdb" database, the 4 tables, namely aspnet_Membership, aspnet_Roles, aspnet_Users, aspnet_UsersInRoles, work together to implement the authorization function. The first two tables have the ID columns, that are used to relate with the last two tables. These IDs are automatically generated at each entry, independent of the names (user name and role name) entered, so that you can enter the same names plural times. Furthermore, except the last table, all the tables have the Application Id column, which records the specific application accessing the tables. Two different applications are recorded when accessed through the Visual Studio debugger and through the normal browser. Therefore, the entries through the former is not authenticated or authorized when accessed through the latter and vice versa.

As far as the Property function is concerned, it is not clear to me how it relates with the Membership function. After being authenticated by the Membership function, the entry is made into aspnet_Profile table in key/value format. However, the UserID has no relation with the authenticated UserID!! I will have to study how this table can be related with the aspnet_Membership table.

Comments: 0    Trackbacks: 0




Write a comment

TrackBack Address:
http://www.timeo.com/TrackBack.aspx?ID=120
   

RSS FEED