通过使用REST API在Sharepoint中获取人员和组列

时间:2018-10-23 18:22:12

标签: sharepoint sharepoint-2013

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

在此方面,我将不胜感激。

非常感谢! :D

1 个答案:

答案 0 :(得分:0)

您应该可以使用以下方法做到这一点:

_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

相关问题