UPDATE - much easier than expected I did get the permission. However, the next obstacle was just around the corner. The code builds fine, but when I publish it, I get a message that states that the sanbox solution can not be activated because of an error while validating Microsoft.ApplicationServer.Caching.Client. It also states that the solution references the illegal System.Threading.Timer which may not be used in a site collection.
Why might that be? My code does not use or reference any of the mentioned assemblies etc. It is completely based on this sample code: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/f9cd50d5-0782-49c0-b71a-e242ff4d5758/how-do-i-retain-formatting-when-setting-fields-value-in-infopath-2010-to-be-formatted-text-from-a?forum=sharepointcustomizationprevious
Does someone understand what could cause these errors if I don't use these assemblies in my code and this is the only code behind used in the form?
Thank you.