ReportViewerWebPart.SetBasePermissionsForSandboxAppDomain Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the base permissions for the sandbox application domain with the supplied permission set. This method is only applicable when ReportPath is set to a report in a SharePoint document library.
public:
void SetBasePermissionsForSandboxAppDomain(System::Security::PermissionSet ^ permissions);
public void SetBasePermissionsForSandboxAppDomain (System.Security.PermissionSet permissions);
member this.SetBasePermissionsForSandboxAppDomain : System.Security.PermissionSet -> unit
Public Sub SetBasePermissionsForSandboxAppDomain (permissions As PermissionSet)
Parameters
- permissions
- PermissionSet
The PermissionSet to set. The default base permission is Execution.
Remarks
The base permissions in the sandbox application domain apply to custom code assemblies and the evaluation of report expressions. If you change the permissions, make sure that the ReportViewerWebPart cannot be used to access any untrusted report definitions.