Multiple choice technology

When we execute the code with SPSecurity.RunWithElevatedPrivileges what credentials are being used?

  1. The App Pool Identity for the web application running SharePoint.

  2. The account for running the SSP in the Server.

  3. The Owner account of the server running SharePoint.

  4. Runs under Anonymous account.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

SPSecurity.RunWithElevatedPrivileges executes code using the Application Pool Identity credentials of the web application. This elevates permissions to run code with higher privileges than the current user. It does NOT use SSP account, server owner, or anonymous access.