Microsoft Excel and SharePoint Fundamentals

Casual Mode - Take your time!

1 / 20
Correct
0
Incorrect
0
Score
0%
Multiple Choice

Webpart required permissions that user might not have. You need to ensure that users with insufficient permissions can also run web part to perform privileged operations. Which method should you use?

  1. SPSecurity.AuthenticateMode
  2. SPSecurity.RunWithElevatedPrivileges
  3. SPSecurity.CatchAccessDeniedException
  4. SPSecurity.SetApplicationCredentialKey
Change Mode