Share via


AccessRequests.ChangeRequestStatusBulk method

Changes the status of a list of access requests.

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

Syntax

'Declaration
Public Shared Sub ChangeRequestStatusBulk ( _
    context As ClientRuntimeContext, _
    requestIds As IList(Of Integer), _
    newStatus As Integer _
)
'Usage
Dim context As ClientRuntimeContext
Dim requestIds As IList(Of Integer)
Dim newStatus As IntegerAccessRequests.ChangeRequestStatusBulk(context, _
    requestIds, newStatus)
public static void ChangeRequestStatusBulk(
    ClientRuntimeContext context,
    IList<int> requestIds,
    int newStatus
)

Parameters

  • newStatus
    Type: System.Int32

    The new desired status for the request.

Remarks

You must be in the site owners group to be able to modify an access request.

See also

Reference

AccessRequests class

AccessRequests members

Microsoft.SharePoint.Client namespace