使用FBA的SharePoint组\角色 [英] SharePoint Groups\Roles using FBA

查看:68
本文介绍了使用FBA的SharePoint组\角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行一个FBA Web应用程序,具有2个网站集. 当前,我在一个网站集中有一个SharePoint组,并且我想在另一个网站集中对该组分配权限. 由于SharePoint组是网站范围的,所以我考虑使用FBA角色.

I'm running an FBA web app, having 2 Site collections. Currently I have a SharePoint group in one site collection, and I would like to assign permission to that group in the other site collection. Since SharePoint groups are site scoped, I thought using FBA roles..

关于如何执行此操作的任何文字,或者是否建议这样做?

Any words on how to do this, or if this it the recommended way?

谢谢.

推荐答案

我是SharePoint组内部的AD组或FBA角色的粉丝,无论网站集数量或身份验证方法如何.它更清洁,并减少了该站点的维护成本.

I am a fan of AD groups or FBA roles inside of SharePoint groups regardless of the number of site collections or authentication method. It is just cleaner and cuts down the amount of maintenance for the site going forward.

一旦您有FBA MembershipProvider工作(无论是AspNetSqlMembershipProvider还是自定义),困难的部分就完成了.相比之下,添加角色支持很容易.

Once you have an FBA MembershipProvider working (whether AspNetSqlMembershipProvider or custom), the hard part is done. Adding role support is easy by contrast.

有许多使角色发挥作用的示例:这里此处此处此处此处.

There are many examples of getting roles to work: here, here, here, here, and here.

我要强调的一点是,除了在web.config中的configuration/system.web/roleManager/providers下注册您的RoleProvider之外,还要确保将其添加到configuration/SharePoint/PeoplePickerWildcards:

The point I would emphasize is in addition to registering your RoleProvider in the web.config under configuration/system.web/roleManager/providers, be sure to also add it to configuration/SharePoint/PeoplePickerWildcards:

<PeoplePickerWildcards>
  <clear />
  <add key="MyMembershipProvider" value="%" />
  <add key="MyRoleProvider" value="%" />
</PeoplePickerWildcards>

本节中的条目是SharePoint将FBA角色添加到SharePoint组中时用来验证该角色的信息.

The entries in this section are what SharePoint will use to verify the FBA role when you add it into a SharePoint group.

这篇关于使用FBA的SharePoint组\角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆