开发者

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

开发者 https://www.devze.com 2023-01-10 21:29 出处:网络
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 empt

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

精彩评论

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

关注公众号