mardi 17 mars 2015

How can I set “IsSiteAdmin” property true for a user using Webservice/REST API for Sharepoint?



The question actually is that whether or not an Admin (Company Administrator) assign a user(say himself) who is NOT a site user on a Site as Site Collection Admin for the OneDrive(my site) for other tenant users.


Let's say that admin is abc@mytenant@onmicrosoft.com and there is a user say pqr@mytenant@onmicrosoft.com. The OneDrive(my site) for this user would be;



http://ift.tt/1Fx0B1k


Can I make abc@mytenant.onmicrosoft.com (who is NOT a site user on pqr@mytenant@onmicrosoft.com) a Site Collection Administrator on this site?


Much appreciated!


PS: Currently, I am doing it via Powershell but I'm interested in doing it via APIs.








0 commentaires:

Enregistrer un commentaire