Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Changes the status of an access request.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub ChangeRequestStatus ( _
itemId As Integer, _
newStatus As Integer, _
convStr As String, _
permType As String, _
permissionLevel As Integer _
)
'Usage
Dim itemId As Integer
Dim newStatus As Integer
Dim convStr As String
Dim permType As String
Dim permissionLevel As IntegerSPAccessRequests.ChangeRequestStatus(itemId, _
newStatus, convStr, permType, permissionLevel)
public static void ChangeRequestStatus(
int itemId,
int newStatus,
string convStr,
string permType,
int permissionLevel
)
Parameters
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.