Site.UpdateClientObjectModelUseRemoteAPIsPermissionSetting method

Sets whether the client-side object model (CSOM) requests that are made in the context of any site inside the site collection require UseRemoteAPIs permission.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Sub UpdateClientObjectModelUseRemoteAPIsPermissionSetting ( _
    requireUseRemoteAPIs As Boolean _
)
'Usage
Dim instance As Site
Dim requireUseRemoteAPIs As Boolean

instance.UpdateClientObjectModelUseRemoteAPIsPermissionSetting(requireUseRemoteAPIs)
public void UpdateClientObjectModelUseRemoteAPIsPermissionSetting(
    bool requireUseRemoteAPIs
)

Parameters

  • requireUseRemoteAPIs
    Type: System.Boolean

    Specifies whether the client-side object model (CSOM) requests that are made in the context of any site inside the site collection require UseRemoteAPIs permission.

See also

Reference

Site class

Site members

Microsoft.SharePoint.Client namespace