I searched for this but in vain. Used this below code for SharePoint 2013 and works fine, but now need to develop for SharePoint 2010. Web web = _ctx.Web; User user = web.EnsureUser(userName); ...
I'm using SharePoint 2013 and I wrote an AppPart that needs items of a list other than it's host site collection. But it keeps popping up an error indicating that my request has been failed. Access ...
Programatically setting Site Collections Administrators in SharePoint 2010 using Client Object Model
I am writing a program where I want to be able to add/remove user/groups as administrator for a given Site Collection. I am using Client Object Model API for SharePoint 2010. I havent been able to ...