I am trying to get some site settings using the SP.js this works for logged in users but anonymous users it does not i have given the anon user permissions to the list but still getting the same error. here is the full error:
The method "GetItems" of the type "List" with id "{d89f0b18-614e-4b4a-bac0-fd6142b55448}" is blocked by the administrator on the server.n at Microsoft.SharePoint.Client.ServerStub.CheckBlockedMethod(String methodName, ProxyContext proxyContext)at Microsoft.SharePoint.ServerStub.SPListServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)
at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.GetObjectFromObjectPath(XmlElement xe)
at Microsoft.SharePoint.Client.ClientMethodsProcessor.GetObjectFromObjectPathId(String objectPathId)
at Microsoft.SharePoint.Client.ClientMethodsProcessor
Thank you for All your Help.