Microsoft
70-573 · Question #60
70-573 Question #60: Real Exam Question with Answer & Explanation
Sign in or unlock 70-573 to reveal the answer and full explanation for question #60. The question stem and answer options stay visible for context.
Question
You plan to develop a Web Part that displays a SharePoint list. The Web Part will verify the list permissions when users access by using the web.CurrentUser. DoesUserHavePermissions method. You need to ensure that when users do not have permissions to the list, the Web Part displays the company's logo. Which code segment should you add to the Web Part?
Options
- ARunWithElevatedPrivileges
- Bweb.AllowUnsafeUpdates= true;
- Cweb.CurrentUser.RequireRequestToken = false;
- Dweb.ValidateFormDigest();
Unlock 70-573 to see the answer
You've previewed enough free 70-573 questions. Unlock 70-573 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.