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
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe runtime context.
requestIds
Type: System.Collections.Generic.IList<Int32>Identifiers of the access requests.
newStatus
Type: System.Int32The new desired status for the request.
Remarks
You must be in the site owners group to be able to modify an access request.