Custom security trimming (Post) doesn't work in Sharepoint 2016

weixin_38063619 2017-01-12 07:21:23
Custom security trimming (Post) doesn't work in Sharepoint 2016

I write a customer trimmer according to
https://msdn.microsoft.com/en-us/library/ee819923.aspx
It works in SharePoint 2013.
I set up SharePoint 2016 develope enviroment and did the steps one by one.
However, I encountered a problem that each member of documentCrawlUrls
is null. The count of documentCrawlUrls is correct, and the trimming result is also correct if I set the return values(BitArray).
public BitArray CheckAccess(IList<string> documentCrawlUrls, IList<string> documentAcls, IDictionary<string, object> sessionProperties, IIdentity passedUserIdentity)
{
}
So, this problem only happens in SharePoint 2016. It is correct in SharePoint 2013.

brouno
...全文
24 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

476

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧