-
Junior Member
How to create a custom role provider
I want to create a custom role provider which returns the role data based on username and other additional parameters. Currently although I am able to override RoleProvider class I am unable to pass additonal parameters to the default GetRolesForUsers method.
-
Junior Member
Re: How to create a custom role provider
The web.config file will need several new pieces. In order to glue the Login control to your custom membership provider, you will need a section called . You can set the properties of the custom provider in this section. You can also control these properties from the custom membership provider class. The web.config used for this ,assumes some aspx files should be accessible only after login is validated, and some files should always be available.
-
Expert Member
Re: How to create a custom role provider
In asp.net its very easy, Please follow the steps and you can create your own roles:
Open you web site In standard bar there is tab for 'Website' -> got o Asp.net Configuration thats open a new web page then follow the guidelines as there mention you can create roles.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules