locked
How do I get the Id of a role by role namevia JavaScript in CRM 2011? RRS feed

  • Question

  • Hi,

    Following function allowing me to get the user role's GUID.

    function userRole()
    {
    var getRole = Xrm.Page.Content.getUserRole();
    alert(getRole);
    }

    But I want its name as well. I want to seek your kind help in this regards.

    Thank You.

    Tuesday, October 28, 2014 4:07 PM