Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

SharePoint Online: People Manager

$
0
0

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 =newPeopleManager(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?

Just to add more info I tried the same thing with Powershell and again the peoplemanager object did not have the required method:


Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" 
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" 
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.UserProfiles.dll" 

$peopleManager = new-Object Microsoft.SharePoint.Client.UserProfiles.PeopleManager($ctx);

$peopleManager.SetSingleValueProfileProperty()
                    $ctx.ExecuteQuery()



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>