如何在线使用SharePoint中的REST API获取Office 365组的列表.
问题描述:
我正在寻找REST API(即使用graph api获取组的列表是https://graph.microsoft.com/v1.0/groups)以在线获取sharepoint中Office 365的组列表.
I am looking for REST API(i.e. get the list of groups using graph api is -- https://graph.microsoft.com/v1.0/groups) to get the list of groups of office 365 in sharepoint online.
例如,要在线获取sharepoint中指定的REST API,我们将在以下站点列表.
Like, to get the list of sites we have below given REST API in sharepoint online.
"http://<site url>/_api/web/webs"
请帮助我们.
答
尝试一下:
https://<网站网址>/_ api/web/网站群组
https://<site url>/_api/web/sitegroups