Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit sharepoint.stackexchange
scroll top