Working with Dynamics CRM users assigned roles using JavaScript
Today turned out to be one of those days where I got multiple requests for quick Dynamics CRM 2015 JavaScript help on a few projects. A colleague asked me for help showing a field on a form if a user is assigned a role and keeping it hidden otherwise. Instead of just hardcoding everything, I decided to take a more general approach and write a universal role assignment checking function that has parameters for the functions to execute if the user is or is not in the role when the role checking is called. »