在O365协作网站中获取网站成员资格和网站所有权 [英] Getting the Site Membership and Site Ownership in O365 Collaboration sites
问题描述
如何在O365 SharePoint Online中获取以下信息?
How to get the below information in O365 SharePoint Online?
•网站 我是
• "Sites I am a member of"
•站点I o wn"
一种方法是获取已登录用户的站点对象并检查组,但这会如果用户有很多站点,则会降低性能.
我们可以通过Microsoft Graph获得信息吗?任何指针都将很方便.
Amalaraja Fernando,
SharePoint架构师
如果我的帖子解决了您的问题,请标记为答案;如果帖子对您有帮助,请标记为有用.该帖子是按原样"提供的.
Amalaraja Fernando,
SharePoint Architect
Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.
推荐答案
您可以使用搜索(和搜索REST调用)来查找用户的网站有权.
You can use search (and search REST calls) to find webs that a user has permissions to.
搜索: contentclass:STS_Web
Search for: contentclass:STS_Web
有关更多信息,请参见此处:
http://techtrainingnotes.blogspot.com/2015/07/using-sharepoint-serach-to-find-sites.html
See here for more info:
http://techtrainingnotes.blogspot.com/2015/07/using-sharepoint-serach-to-find-sites.html
如果您从搜索中心进行测试,则不会看到所有结果,因为许多结果将被视为重复项.有关处理重复项的更多信息,请参见:
http://techtrainingnotes.blogspot.com/2015/04/sharepoint-2013-search-weirdness-part-1.html
If you test this from an Search Center you will not see all results as the many of the results will be seen as duplicates. For more about dealing with duplicates see:
http://techtrainingnotes.blogspot.com/2015/04/sharepoint-2013-search-weirdness-part-1.html
对于我拥有的网站",这些用户是所有者组的成员吗?
For "Sites I own", is this users who are members of the Owners Group?
这篇关于在O365协作网站中获取网站成员资格和网站所有权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!