AccessRequests.ChangeRequestStatus method
Changes the status of an access request.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Shared Sub ChangeRequestStatus ( _
context As ClientRuntimeContext, _
itemId As Integer, _
newStatus As Integer, _
convStr As String, _
permType As String, _
permissionLevel As Integer _
)
'Usage
Dim context As ClientRuntimeContext
Dim itemId As Integer
Dim newStatus As Integer
Dim convStr As String
Dim permType As String
Dim permissionLevel As IntegerAccessRequests.ChangeRequestStatus(context, _
itemId, newStatus, convStr, permType, _
permissionLevel)
public static void ChangeRequestStatus(
ClientRuntimeContext context,
int itemId,
int newStatus,
string convStr,
string permType,
int permissionLevel
)
Parameters
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextThe runtime context.
itemId
Type: System.Int32Identifier of the access request.
newStatus
Type: System.Int32The new desired status for the request.
convStr
Type: System.StringA message to include with this update.
permType
Type: System.StringNew permission type for this request.
permissionLevel
Type: System.Int32New permission level for this request.
Remarks
You must be in the site owners group to be able to modify an access request.