nerdexam
Microsoft

70-573 · Question #123

You need to create a Web Part that creates a copy of the out-of-the box Contribute permission level. Which code segment should you implement in the Web Part?

The correct answer is B. Dim myRole As New. See the full explanation below for the reasoning.

Question

You need to create a Web Part that creates a copy of the out-of-the box Contribute permission level. Which code segment should you implement in the Web Part?

Options

  • ADim myRole As New SPRoleDefinition()
  • BDim myRole As New
  • CDim myRole As New
  • DDim myRole As New

How the community answered

(34 responses)
  • A
    3% (1)
  • B
    74% (25)
  • C
    9% (3)
  • D
    15% (5)

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice