How to get SPUser guid in SharePoint?

刘友缘 41 Reputation points
2020-08-19T08:32:01.46+00:00

Reference website: https://learn.microsoft.com/en-us/sharepoint/dev/general-development/sharepoint-search-rest-api-overview

PersonalizationData
The GUID for the user who submitted the search query.

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments
{count} votes

Answer accepted by question author
  1. MichaelHan-MSFT 18,136 Reputation points
    2020-08-20T06:25:21.923+00:00

    You could use rest api to get SPUser guid in SharePoint: /_api/web/SiteUserInfoList/Items/

    As the below picture shows:

    18930-18.png


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.