Image may be NSFW.
Clik here to view.
See here for detailed explanation and sample use.
This has been tested on Microsoft Dynamics CRM 2011 On Premise Only. Just add your username and password to the code and rebuild.
Install the plugin by registering using the Plugin Registration Tool.