nerdexam
Microsoft

MB2-876 · Question #20

What is the purpose of the Xrm.Page.context.getUserRoles() method?

The correct answer is C. To return an array of GUIDs that represent the IDs of the security roles assigned to the. See the full explanation below for the reasoning.

Question

What is the purpose of the Xrm.Page.context.getUserRoles() method?

Options

  • ATo return an EntityCollection containing the security roles assigned to the current user.
  • BTo return an array of strings that represent the names of the security roles assigned to the
  • CTo return an array of GUIDs that represent the IDs of the security roles assigned to the
  • DTo return an object array containing the IDs and names of the security roles assigned to the

How the community answered

(35 responses)
  • A
    14% (5)
  • B
    6% (2)
  • C
    77% (27)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full MB2-876 Practice