Asp.net User Roles Management: Where to Begin

后端 未结 4 2020
小蘑菇
小蘑菇 2021-01-05 13:43

I\'m new to User Roles Management. I was reading my Wrox Programming book on asp.net 3.5 user role management...but it was hard to follow along, as I do not have a local se

4条回答
  •  春和景丽
    2021-01-05 13:55

    You can use SqlRoleProviders and SqlMembershipProviders with the .NET default management, or you can write your own providers.

    http://www.odetocode.com/Articles/427.aspx

    http://msdn.microsoft.com/en-us/library/aa478949.aspx

    Then these are used in conjunction with asp .net forms authentication.

      
        
      
      
        
        
      
    

    The configuration of all of this is via the web.config your membership and roles may be similar to this if you use the out of the box aspnetdb.

    
            
              
              
            
          
    
          
            
              
              
            
          
    

提交回复
热议问题