如何查找用户所在社区网站的列表? [英] How to find the list of community sites where a user is member of?

查看:101
本文介绍了如何查找用户所在社区网站的列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用社区网站模板创建的Web应用程序中有超过100个网站集。成千上万的用户是不同社区站点的成员。我的意思是并非所有用户都是所有社区网站的成员(加入)。



在我的网站应用程序根网站集中,我需要显示一个由社区网站标题组成的部分及其与用户所在社区网站的链接。这样,我的用户就可以轻松访问其社区网站(已加入)。
我的意思是如何找到用户所在社区网站的列表?什么是最简单的选择?

I have more than 100 site collections in my web application created using Community Site template. Several thousands of users are members of different community sites. I mean not all users are member (joined) of all community sites.

In my web application root site collection, I need to show a section consisting of Community Site Title and its links to the community site where the user is member of. This will make it handy for my users to reach their community sites (Joined already)  easily. I mean how to find the list of community sites where a user is member of? What is best easiest option?

谢谢并感谢您的帮助。



Thanks and appreciate your help.

推荐答案

您好Riovanne,

Hi Riovanne,

根据您的说明,显示用户在根网站集中有权访问的所有网站。

From your description, display all the sites where the user has access to in the root site collection.

作为建议,由于SharePoint搜索结果经过安全修整,您可以使用内容搜索网络部分来显示用户有权访问的网站。

As an suggestion, as SharePoint search results are security trimmed, you can use content search web part to display sites a user have access to.

您可以添加页面,然后在页面中添加内容搜索Web部件,使用WebTemplate添加查询文本:社区

You can add a page, then add a content search web part in a page, add query text with WebTemplate:Community

< img alt =""src ="https://social.technet.microsoft.com/Forums/getfile/1017248">

然后在主页中添加一个重定向到内容的超链接搜索Web部件页。

Then add a hyperlink in home page which redirect to the content search web part page.

请参阅以下有关SharePoint内容搜索Web部件的文章,以显示社区网站:

Refer to the following article about SharePoint content search web part to show community sites:

https://en.share-gate.com/blog/sharepoint-2013-content-search-site-门户网站

请参阅有关使用SharePoint搜索查找您有权访问的网站的文章:

Refer to the articles about using SharePoint Search to find sites you have access to:

http://techtrainingnotes.blogspot.sg/2015/07/using-sharepoint-serach-to-find-sites.html

最诚挚的问候,

Lisa Chen

Lisa Chen


这篇关于如何查找用户所在社区网站的列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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