PrepAway - Latest Free Exam Questions & Answers

Which method should you use?

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?

PrepAway - Latest Free Exam Questions & Answers

A.
SPSecurity.AuthenticationMode

B.
SPSecurity.RunWithElevatedPrivileges

C.
SPSecurity.CatchAccessDeniedException

D.
SPSecurity.SetApplicationC r endentialKey


Leave a Reply