Share via


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

See also

Reference

ElevatedPrivilegesHelper class

ElevatedPrivilegesHelper members

RunElevated overload

Microsoft.Office.Server.ReputationModel namespace