SharePoint 2013内部部署:是否可以显示所有子站点的列表,其中包含指示用户是否可以访问的标志? [英] SharePoint 2013 On-Premise: Can I show a list of all sub-sites with a flag indicating whether or not the user can access?

查看:114
本文介绍了SharePoint 2013内部部署:是否可以显示所有子站点的列表,其中包含指示用户是否可以访问的标志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

来自客户的奇怪请求。 单个网站集拥有50多个子网站/网站。 在主页上,我想显示与搜索框输入匹配的
所有子网站(照片,标题,说明)的列表(这就是我想要使用的原因)搜索)以及每个标志,指示用户是否有权访问。 我想尽可能多地使用OOTB网页部件。 
如果我进行标准搜索,我将只获得安全修整子网站的列表。 我也不希望我的自定义搜索显示模板必须为每个项目进行Web调用,以检查用户是否有访问权限(这将是非常b $ b b)。

Kind-of an odd request from a customer.  A single site-collection has 50+ sub-sites/webs.  On the home page, I want to show a list of all sub-sites (Photo, Title, Description) that match a search box input (which is why I'd like to use search) along with a flag for each indicating whether or not the user has access.  I want to use OOTB web parts as much as possible.  If I do a standard search, I'll get a list of only the security trimmed sub-sites.  I also don't want to have my custom search display template to have to make a web call for each item checking to see if the user has access or not (that would be terribly slow).

任何想法,请告诉我。 谢谢。

Ed

Any ideas, please let me know.  Thanks.
Ed

推荐答案

您绝对可以显示用户有权访问的子站点列表。  我使用搜索网络部件完成了这项工作。 正如您所说,问题是搜索是安全修整的,因此您无法使用它来显示用户没有
访问权限的子站点。我没有看到使用搜索来实现此目的的任何方法。 我怀疑它必须是一个自定义开发的Web部件,它将走遍网站集的层次结构。
You can definitely show a list of the sub-sites that the user has access to.  I've done this using search web parts.  As you said, the problem is that search is security trimmed so you can't use it to show sub-sites that the user doesn't have access to. I don't see any way to accomplish this using Search.  I suspect it will have to be a custom developed web part that would walk the hierarchy of the site collection.


这篇关于SharePoint 2013内部部署:是否可以显示所有子站点的列表,其中包含指示用户是否可以访问的标志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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