Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top