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

  • itemId
    Type: System.Int32

    Identifier of the access request.

  • newStatus
    Type: System.Int32

    The new desired status for the request.

  • convStr
    Type: System.String

    A message to include with this update.

  • permType
    Type: System.String

    New permission type for this request.

  • permissionLevel
    Type: System.Int32

    New permission level for this 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