ElevatedPrivilegesHelper.RunElevated method (SPListItem, ElevatedPrivilegesHelper.RunElevatedDelegate)
Namespace: Microsoft.Office.Server.ReputationModel
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Shared Sub RunElevated ( _
item As SPListItem, _
myDelegate As ElevatedPrivilegesHelper.RunElevatedDelegate _
)
'Usage
Dim item As SPListItem
Dim myDelegate As ElevatedPrivilegesHelper.RunElevatedDelegateElevatedPrivilegesHelper.RunElevated(item, myDelegate)
public static void RunElevated(
SPListItem item,
ElevatedPrivilegesHelper.RunElevatedDelegate myDelegate
)
Parameters
- item
Type: Microsoft.SharePoint.SPListItem
- myDelegate
Type: Microsoft.Office.Server.ReputationModel.ElevatedPrivilegesHelper.RunElevatedDelegate
See also
Reference
ElevatedPrivilegesHelper class