I am developing a Windows application that is negotiating with SharePoint through embedded web services, and I want all types of content to be available on the SharePoint site,
I'm trying to use
Web.Webs WebsService = new Web.Webs (); WebsService.Credentials = credentials; WebsService.Url = "Web Service URL"; XmlNode listOfContentTypes = WebsService.GetContentTypes ();
If the credentials have administrator rights, I can get a list of all available content types. But if the credentials do not have administrator rights, exception 401 is generated (there is not enough permission).
My question is:
How can I get all types of content on a SharePoint site if I do not have administrator privileges?
source
share