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.
here the odata request (name from id)
http://msdynamicscrmblog.wordpress.com/2013/03/10/get-login-user-role-names-in-javascript-in-dynamics-crm-2011/
My blog: www.crmanswers.net - Rockstar 365 Profile