gpt4 book ai didi

sharepoint-2010 - 人员选择器。我无法在管理中心网站上接收FBA用户

转载 作者:行者123 更新时间:2023-12-02 04:10:21 25 4
gpt4 key购买 nike

我的数据库中的数据库 Membership3 。\ sharepoint 有许多成员身份用户。

我的管理中心网站有 web.config 文件

<configuration>

<connectionStrings>
<add connectionString="Server=.\sharepoint;Database=membership3;Integrated Security=true" name="SQLAuthConnectionString" />
</connectionStrings>

<SharePoint>
<PeoplePickerWildcards>
<clear />
<add key="SQLAuthConnectionString" value="%" />
<add key="SQLMembershipProvider" value="%" />
<add key="SQLRoleManager" value="%" />
</PeoplePickerWildcards>
</SharePoint>

<system.web>
<roleManager defaultProvider="AspNetWindowsTokenRoleProvider" enabled="true" cacheRolesInCookie="false">
<providers>
<add name="SQLRoleManager" connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider"
type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
<membership defaultProvider="SQLMembershipProvider">
<providers>
<add name="SQLMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" applicationName="/" enablePasswordReset="true"
enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" />
</providers>
</membership>
</system.web>

</configuration>

我的新基于声明的网站有 web.config 文件:
<configuration>

<SharePoint>
<PeoplePickerWildcards>
<clear />
<add key="SQLAuthConnectionString" value="%" />
<add key="SQLMembershipProvider" value="%" />
<add key="SQLRoleManager" value="%" />
</PeoplePickerWildcards>
</SharePoint>

<system.web>
<membership defaultProvider="i">
<providers>
<add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
<add name="SQLMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" applicationName="/" enablePasswordReset="true"
enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" />
</providers>
</membership>
<roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false">
<providers>
<add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
<add name="SQLRoleManager"
connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider"
type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
</system.web>

</configuration>

文件C:\ Program Files \ Common Files \ Microsoft共享\ Web服务器扩展\ 14 \ WebServices \ Root \ web.config:
<configuration>

<system.web>
<membership defaultProvider="i">
<providers>
<clear />
<add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
<add name="SQLMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="SQLAuthConnectionString" passwordAttemptWindow="5" enablePasswordRetrieval="false" enablePasswordReset="true"
requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="true" passwordFormat="Clear" />
</providers>
</membership>
<roleManager enabled="true" defaultProvider="c">
<providers>
<clear />
<add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
<add name="SQLRoleManager" connectionStringName="SQLAuthConnectionString" applicationName="/" description="My Role Provider"
type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
</system.web>

<connectionStrings>
<add connectionString="Server=.\sharepoint;Database=membership3;Integrated Security=true" name="SQLAuthConnectionString" />
</connectionStrings>
</configuration>

我想在管理中心站点中设置 用户策略,而FBA用户 不在People Picker 中。但是我的基于声明的身份验证站点可以通过任何FBA用户登录。管理中心网站设置有什么问题?

最佳答案


<add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

在 member 制中

<add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

在中央管理器Web配置文件中的角色管理器中

关于sharepoint-2010 - 人员选择器。我无法在管理中心网站上接收FBA用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5540258/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com