SPAccessRequests.ChangeRequestStatusBulk method
Changes the status of a list of access requests.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub ChangeRequestStatusBulk ( _
requestIds As List(Of Integer), _
newStatus As Integer _
)
'Usage
Dim requestIds As List(Of Integer)
Dim newStatus As IntegerSPAccessRequests.ChangeRequestStatusBulk(requestIds, _
newStatus)
public static void ChangeRequestStatusBulk(
List<int> requestIds,
int newStatus
)
Parameters
requestIds
Type: System.Collections.Generic.List<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.