在SharePoint中匿名读取BDC中定义的方法
2011-01-06 11:03
239 查看
When anonymous users login in the SharePoint site which has BDC web parts, you will see the error message “You do not have permission to access abc in xyzInstance”. This is fixed in the Infrastructure update of WSS and MOSS. In the Application Definition File, for each method instance ( for which we need to give anonymous access), we need to add a property called AllowAnonymousExecute.Its a boolean value which needs to be set as true.
<MethodInstance Type="Finder" ReturnParameterName="Products" ReturnTypeDescriptorName="ProductDataReader" ReturnTypeDescriptorLevel="0" Name="ProductFinderInstance">
<Properties>
<Property Name="AllowAnonymousExecute" Type="System.Boolean">true</Property>
</Properties>
</MethodInstance>
<MethodInstance Type="Finder" ReturnParameterName="Products" ReturnTypeDescriptorName="ProductDataReader" ReturnTypeDescriptorLevel="0" Name="ProductFinderInstance">
<Properties>
<Property Name="AllowAnonymousExecute" Type="System.Boolean">true</Property>
</Properties>
</MethodInstance>
相关文章推荐
- js特殊例子--方法内重新定义了变量在后面就会前面的为undifined,后面没有定义就用全局的--各种专业文献上的“闭包”(closure)定义非常抽象,很难看懂。我的理解是,闭包就是能够读取其他函
- C# 用数据库读取Excel出现“定义了过多字段”错误的解决方法 .
- C++中使用Socket通信包定义和读取方法
- 嵌套类,内部类,匿名内部类的定义和使用方法
- 面向对象基础(类与对象的定义、进一步研究、封装性、构造方法与匿名对象)
- SharePoint 2010 此操作只能由SQl Server中用用配置数据库读取权限的用户在已加入到某个服务器场的计算机上执行 解决方法
- 使用SP.SOD.executeOrDelayUntilScriptLoaded方法更改Sharepoint预定义JavaScript函数
- 为什么Java匿名内部类的方法中用到的局部变量都必须定义为final
- C#用匿名方法定义委托的实现方法
- C# 用数据库读取Excel出现“定义了过多字段”错误的解决方法
- 读取Excel异常定义了过多字段的解决方法
- C# 用数据库读取Excel出现“定义了过多字段”错误的解决方法
- C# 用数据库读取Excel出现“定义了过多字段”错误的解决方法
- 这篇文章主要介绍了C#中的匿名方法,包括其由来、定义及用法等,需要的朋友可以参考下
- sharepoint匿名实现的另一种方法
- 匿名内部类实现多线程,内部类调用外部方法中定义的变量
- C++中使用Socket通信包定义和读取方法
- 为什么Java匿名内部类中的方法参数必须定义为final
- C++中使用Socket通信包定义和读取方法
- KMS Project 1- 匿名模式下打开SharePoint中Office文档的方法