开发者

Anybody found a sample that uses windows authentication with working rolemanager in SL4 with RIA?

All the sample I come across are for forms authenticati开发者_StackOverflow中文版on. I did manage to authenticate using windows, but the list of roles returned in the authenticated user is always empty.

In SL3 and previous version of RIA, user roles were populated with active directory security groups (worked for me). Now in SL4 it no more works.


you need the following in your web.config:

<roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider"/>
<authentication mode="Windows"/>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜