首页 > 解决方案 > 使用 REST API 获取 Sharepoint 中的人员和组列

问题描述

我想从 Sharepoint 的列表中获取列类型人员和组的信息。我将 get 与 REST API 一起使用。

我将不胜感激任何建议和帮助。

提前非常感谢!:D

标签: sharepointsharepoint-2013

解决方案


你应该能够使用类似的东西来做到这一点:

_api/web/lists/getbytitle('customlistname')/items?$select=Users/EMail,Users/FirstName,Users/LastName,Users/EMail&$expand=Users/Id

请参阅此处了解更多信息: https ://social.technet.microsoft.com/wiki/contents/articles/31210.sharepoint-2013-get-user-details-from-person-or-group-field-using-rest -api.aspx


推荐阅读