nerdexam
Microsoft

70-489 · Question #97

You develop a Web Part that includes the following code segment (Line numbers are included for reference only.) You log on to a SharePoint site with the user name Contoso\THartono. You need to display

Sign in or unlock 70-489 to reveal the answer and full explanation for question #97. The question stem and answer options stay visible for context.

Design and develop advanced Microsoft SharePoint 2013 solutions

Question

You develop a Web Part that includes the following code segment (Line numbers are included for reference only.) You log on to a SharePoint site with the user name Contoso\THartono. You need to display account details for the currently logged in user. Which code segment should you insert at line 13?

Exhibits

70-489 question #97 exhibit 1
70-489 question #97 exhibit 2

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

Unlock 70-489 to see the answer

You've previewed enough free 70-489 questions. Unlock 70-489 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.

Topics

#Web Part development#user context#SPContext#current user identity
Full 70-489 Practice