如何获取登录用户的所有站点和子站点. [英] How to get all the sites and subsites for logged in user.
本文介绍了如何获取登录用户的所有站点和子站点.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I am trying to search all sites and subsites under a site collection. But I am unable to get all the sites in the result by (contentclass:STS_Site OR contentclass:STS_Web) . If I search the site with the name, the result shows the site.
我浏览了各种博客,但找不到合适的解决方案.
I went through various blog, but couldn't find the proper solution.
推荐答案
RagingRiver,
请确保您没有从搜索结果" Web部件中删除重复的结果.
1.编辑搜索结果页面,编辑搜索结果Web部件.
2.在搜索结果Web部件"属性框中,单击搜索结果的属性"中的更改查询"按钮.
3.单击设置选项卡.在删除重复项"部分中,单击不要删除重复项",然后单击确定".
最好的问候,
张琳达
这篇关于如何获取登录用户的所有站点和子站点.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文