locked
CRM 4.0 get user role id RRS feed

  • Question

  • Hi,

    i have easy question,

    is there anyone can change below CRM 2011 sampel code become to CRM 4.0 code?

    var a = Xrm.Page.context.getUserRoles();

    Thanks before,

    musa

    Monday, November 19, 2012 9:05 AM

Answers

  • Hi Musa,

    Here's the function to get user role in 4.0 User Role

    Warm Regards,

    Vijay


    - Vijay

    • Proposed as answer by Andreas Buchinger Monday, November 19, 2012 10:29 AM
    • Marked as answer by Miuru Tuesday, November 20, 2012 2:18 AM
    Monday, November 19, 2012 10:07 AM

All replies

  • Hi Musa,

    Here's the function to get user role in 4.0 User Role

    Warm Regards,

    Vijay


    - Vijay

    • Proposed as answer by Andreas Buchinger Monday, November 19, 2012 10:29 AM
    • Marked as answer by Miuru Tuesday, November 20, 2012 2:18 AM
    Monday, November 19, 2012 10:07 AM
  • Dear Mr.Vijay,

    Great!, many thanks to you.

    BR,

    musa

    Monday, November 19, 2012 11:25 AM