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)

Syntax

'Declaration
Public Sub BypassUseRemoteApis
'Usage
Dim instance As SPWeb

instance.BypassUseRemoteApis()
public void BypassUseRemoteApis()

Remarks

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.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace