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