Is there a way to call custom method of Custom Role Provider class
- by IrfanRaza
Hello friends,
I have created my own custom role provider class "SGI_RoleProvider" and configured properly.
Everything is working fine.
Suppose that I have added a public method say "SayHello()", then how can i call that. Because if i am using Roles then the method is not displayed. If i am forcefully using that Roles.SayHello() then compiler gives the error.
Any suggestion how can i call this. Because creating a new instance of SGI_RoleProvider is meaningless.
Thanks for sharing your time.