My LogiX is Undeniable.
This is how to get current user rolesCurrent user rolesvar UserRoles = Xrm.Page.context.getUserRoles();