0
votes
1answer
12 views

How to add user to site collection administrator using clientcontext SharePoint 2010?

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); ...
1
vote
1answer
2k views

Sharepoint 2013 App access cross site collections

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 ...
4
votes
2answers
609 views

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 ...
6
votes
4answers
6k views

SharePoint 2010 Javascript Client Object Model cross site collections?

I've read some unofficial things online that using the Javascript client object model to retrieve content from other site collections is not allowed due to prevent the equivalent of "cross site ...