You create a Web Part that performs privileged operations.
The Web Part requires permissions that the user might not have.
You need to ensure that users with insufficient permissions can also run the Web Part to perform privileged operations.
Which method should you use?
A.
SPSecurity.AuthenticationMode
B.
SPSecurity.RunWithElevatedPrivileges
C.
SPSecurity.CatchAccessDeniedException
D.
SPSecurity.SetApplicationC r endentialKey