IListItemByKeyService.ResetListItemPermissions Method
Resets role inheritance for the specified item.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<CorrelationInitializerAttribute> _
Sub ResetListItemPermissions ( _
id As Guid, _
listId As Guid, _
itemKey As SPItemKey _
)
'Usage
Dim instance As IListItemByKeyService
Dim id As Guid
Dim listId As Guid
Dim itemKey As SPItemKey
instance.ResetListItemPermissions(id, _
listId, itemKey)
[CorrelationInitializerAttribute]
void ResetListItemPermissions(
Guid id,
Guid listId,
SPItemKey itemKey
)
Parameters
id
Type: System.GuidCorrelation ID of the operation
listId
Type: System.GuidThe ID of the list containing the item to reset permissions on.
itemKey
Type: Microsoft.SharePoint.Workflow.SPItemKeyThe SPItemKey of the item whose permissions are being reset.