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.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,297 questions
0 comments No comments
{count} votes

Accepted answer
  1. MichaelHan-MSFT 18,021 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