Quantcast
Channel: Role Provider
Viewing all articles
Browse latest Browse all 2

Role Provider

0
0

I created my own form authentication service. It uses WCF RIA Services to call my existing business objects and validate a user's login. It leverages the Silverlight Business Application template and correctly validates against my business layer users.

I now want to define the roles that the user is in. I created a class that inherits from RoleProvider. I modified my Web.config to tell it about my RoleProvider. But none of my RoleProvider code seems to be executing. In the Silverlight client code, IsUserInRole is always false.

I have been Bing'ing all day and have not found any information on how to debug this. Nor have I found an example to compare against.

Anyone know how to populate the roles for a user when using a custom forms authentication service?

I'd be happy to post any of my existing code if that would help.

THANKS!


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images