Xrm.Page.context.getUserRoles() returns SalesPerson role incorrectly RRS feed

  • Question

  • Hi,

    We have an organzation in CRM 2016. If we call Xrm.Page.context.getUserRoles() javascript function, it returns SalesPerson role along with the assigned security role for a user, even if user is not assigned the SalesPerson role. In CRM 2015 its working correctly.

    Kindly let us know if anyone has faced the same problem and what is the proposed solution.

    Thanks in advance.


    Suprita De

    Monday, March 14, 2016 10:37 AM

All replies

  • Hi Suprita,

    you can try this solution:




    Alessandro Graps

    Tuesday, March 15, 2016 11:45 AM