Partilhar via


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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Sub BypassUseRemoteApis
'Usage
Dim instance As SPWeb

instance.BypassUseRemoteApis()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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