Microsoft
MB2-876 · Question #16
You are developing a JScript-based script for Microsoft Dynamics CRM 2011. You need to ascertain the security roles with which the current user is associated. Which method should you use?
The correct answer is A. Xrm.Page.context.getUserRoles(). See the full explanation below for the reasoning.
Question
You are developing a JScript-based script for Microsoft Dynamics CRM 2011. You need to ascertain the security roles with which the current user is associated. Which method should you use?
Options
- AXrm.Page.context.getUserRoles()
- BXrm.Page.ui.getUserRoles()
- CXrm.Page.data.getUserRoles()
- DXrm.Page.data.entity.getUserRoles()
How the community answered
(62 responses)- A71% (44)
- B16% (10)
- C5% (3)
- D8% (5)
Community Discussion
No community discussion yet for this question.