Tom,
I too have to implement my own RoleProvider. Can you help me get started. I'm not sure where I put the part to create the RoleClass, and how its 'wired up' to the LoginControls.
My project/webiste is currently working using the Default Database Schema with the SQLMemebership and SQLRoleProviders, but due to scope change I need to change the datasource of my RoleTables.
For Starters I made my own class called: clsMyRoleProvider.vb, and copied the code I found here (
http://msdn2.microsoft.com/en-us/lib...4k(vs.80).aspx)
From your above sample I'll modify my Webconfig.
Question: Do you have them sign in? and get the username: strUser= me.lblUser.txt?
then 'somehow' make a trip to the server to get the role out from the Database.
When you make the trip to the DB and return a role value (ie Admin, Author, Browser) how do you connect or inform the LoginView Control what to render?
As I said before, I've it working with the SQLRole Providers, so I'm not sure if I need to set some properties on the control to look at MyRoleProvider.
All help is appreciated.
Thanks
rwiethorn