Hi,
I'm developing a windows application, that talks to SharePoint via its built in web services, and i want to get all content types available on a SharePoint site,
I'm trying to use
Web.Webs WebsService = new Web.Webs(); WebsService.Credentials=credentials; WebsService.Url="url of the web service"; XmlNode listOfContentTypes = WebsService.GetContentTypes();
If credentials have administrator privileges i can get the list of all the content types available, But if credentials don't have administrator privileges a 401 exception is thrown (not enought permission).
My question is:
How can i get all content types available on a SharePoint site if i don't have administrator priviliges?