By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,017 Members | 1,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,017 IT Pros & Developers. It's quick & easy.

Custom Role Provider

P: n/a
CK
Does anyone have any experience with this? We have an exisitng sql database
with user and role info. I need to write a custom role provider to use this
data. Does anyone have any examples of this being done? I have googled it
and I see on MSDN an XMLReadOnlyRoleProvider. I need something similiar to
this. When writing a custom role provider, does the developer write the
ADO.NET code in the methods to retrieve the user and role info? My only
experience with Membership and Roles are the prebuilt SqlRoleProvider &
SqlMembershipProvider. These are implemented using almost no code so I can't
really see what's going on behind the scenes. Thanks for any advice, links,
and or code.

Regards,
~CK
Jul 25 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
See this link for basic information about custom membership provider. You
can use same technique to write custom role provider.

http://www.netomatix.com/development...pprovider.aspx
"CK" <c_**********@hotmail.comwrote in message
news:1y********************@newssvr13.news.prodigy .com...
Does anyone have any experience with this? We have an exisitng sql
database with user and role info. I need to write a custom role provider
to use this data. Does anyone have any examples of this being done? I have
googled it and I see on MSDN an XMLReadOnlyRoleProvider. I need something
similiar to this. When writing a custom role provider, does the developer
write the ADO.NET code in the methods to retrieve the user and role info?
My only experience with Membership and Roles are the prebuilt
SqlRoleProvider & SqlMembershipProvider. These are implemented using
almost no code so I can't really see what's going on behind the scenes.
Thanks for any advice, links, and or code.

Regards,
~CK

Jul 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.