BypassUseRemoteApis Method
TOC
Collapse the table of content
Expand the table of content

SPWeb.BypassUseRemoteApis Method

Accesses the website by bypassing the SOAP, WebDAV and Microsoft Office SharePoint Designer 2007 interfaces.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public void BypassUseRemoteApis()

SharePoint Foundation requires that the current user has the UseRemoteAPIs permission to use SOAP, WebDAV, and Microsoft Office SharePoint Designer 2007 interfaces. When you use the BypassUseRemoteApis method, the UseRemoteAPIs permission check for the current Http request is skipped.

Show:
© 2016 Microsoft