SPUserCodeWrapper Class
SharePoint 2010
Manages the process of running certain functions, such as Web parts or events, that exist within the restricted privilege user code process.
Namespace:
Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online