Here is an example of the code needed in Microsoft Dynamics CRM 2015 to return the roles for the current user.
function onLoad() {
// ** Shows all the roles for current user
var Roles = Xrm.Page.context...(read more)
↧