mercredi 25 juin 2014

Adding additional linked membership provider in asp.net


Vote count:

0




I work on an asp.net application that provides videos of expert speakers to employees at various organizations. I currently use asp.net membership to authenticate users based on the company they work for (each company has a login), set roles to determine what videos they have access to, and build reports etc.


However, my company wants to begin adding login for individual users as well. Rewriting our entire membership system would essentially mean rebuilding a large portion of the site -- instead I was thinking of adding another membership provider for individuals that would map to the membership provider we already have for organizations -- so if a user logged in as an individual, it would map to the company provider and authenticate them there etc.


I could build my own by extending the membership tables,but just wondering whether there is any way to do this using the .net membership framework, and what the best practices would be.



asked 46 secs ago






Aucun commentaire:

Enregistrer un commentaire