People Manager vs. People Manager SharePoint Online
-
02-10-2020 - |
質問
What's the difference between People Manager with fewer methods and People Manager with more methods?
I am using Microsoft.SharePoint.Client.UserProfiles.dll
. I created
PeopleManager peopleManager = new PeopleManager(ctx);
but it doesn't have SetSingleValueProfileProperty method and many others. What did I do wrong? How can I use this People Manager with more methods?
解決
The methods are available only in newer libraries, so downloading SharePoint Online SDK anew and updating the references fixed the issue.
The answer was provided by Patrick Liang here: https://social.msdn.microsoft.com/Forums/office/en-US/e544c518-67cc-4743-9943-d2d28e8a9ec9/sharepoint-online-people-manager?forum=sharepointdevelopment
所属していません sharepoint.stackexchange