You create a Web Part that updates a list.
You need to ensure that users can use the Web Part to update the list, regardless of the users’ permissions to the list.
What should you use in the Web Part?
A.
the SPSecurity.AuthenticationMode property
B.
the SPSecurity.CatchAccessDeniedException property
C.
the SPSecurity.RunWithElevatedPrivileges method
D.
the SPSecurity.SetApplicationCredentialKey method
Explanation:
MNEMONIC RULE: “regardless of permissions = RunWithElevatedPrivileges”SPSecurity.RunWithElevatedPrivileges Method
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx