SPSecurity.RunWithElevatedPrivileges(SPSecurity+CodeToRunElevated) SPSecurity.RunWithElevatedPrivileges(SPSecurity+CodeToRunElevated) SPSecurity.RunWithElevatedPrivileges(SPSecurity+CodeToRunElevated) Method

Definition

public:
 static void RunWithElevatedPrivileges(Microsoft::SharePoint::SPSecurity::CodeToRunElevated ^ secureCode);
public static void RunWithElevatedPrivileges (Microsoft.SharePoint.SPSecurity.CodeToRunElevated secureCode);
Public Shared Sub RunWithElevatedPrivileges (secureCode As SPSecurity.CodeToRunElevated)
Parameters
secureCode

Applies to