I've already searched the forum regarding this but I can't get an answer in VB code and exact details.. I've already get the idea on how to create the custom membership provider but I can't understand the how to use a custom role provider.
I've already put the ff codes on my web.config
<roleManager enabled="true" defaultProvider="Class2">
<providers>
<add name="Class2"
connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Inetpub\wwwroot\NewProvider\App_Data\User.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
applicationName="/" type="Class2"/>
</providers>
</roleManager>
<membership defaultProvider="Class1"
cookieName=".ASPROLES"
cookieTimeout="30"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<add requiresQuestionAndAnswer="False" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Inetpub\wwwroot\NewProvider\App_Data\User.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
applicationName="/" name="Class1" type="Class1" />
</providers>
</membership>
Ive also created a Class in App_code folder and inherits the RoleProvider.. the problem is, i dont know what and how to overwrite the important function on the Class. Please help me on how to implement this custom role provider. thanks. any example in VB can help.