Back to Devexpress

AccessSettings.ReportingSpecificResources Property

corelibraries-devexpress-dot-security-dot-resources-dot-accesssettings-4b2e63b1.md

latest3.2 KB
Original Source

AccessSettings.ReportingSpecificResources Property

Provides access to the AccessSettings class’s instance that allows you to specify Reporting-specific resource access settings.

Namespace : DevExpress.Security.Resources

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public static AccessSettings ReportingSpecificResources { get; }
vb
Public Shared ReadOnly Property ReportingSpecificResources As AccessSettings

Property Value

TypeDescription
AccessSettings

The object that allows you to set Reporting-specific resource access rules.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ReportingSpecificResources
AccessSettings

.DataResources .ReportingSpecificResources

| | AccessSettings |

.ReportingSpecificResources .ReportingSpecificResources

| | AccessSettings |

.StaticResources .ReportingSpecificResources

|

Remarks

Reporting-specific resources include style sheet files and report layout serialization format.

Use the following rules for these resources:

Use the SetRules(IAccessRule[]) method of the object that this property returns to specify Reporting-specific resource access rules.

csharp
// Allow style sheets to be loaded only from the "C:\\StaticResources\\" file directory
DevExpress.Security.Resources.AccessSettings.ReportingSpecificResources.SetRules(DirectoryAccessRule.Allow("C:\\StaticResources\\"));
vb
' Allow style sheets to be loaded only from the "C:\\StaticResources\\" file directory
DevExpress.Security.Resources.AccessSettings.ReportingSpecificResources.SetRules(DirectoryAccessRule.Allow("C:\\StaticResources\\"))

See Also

AccessSettings Class

AccessSettings Members

DevExpress.Security.Resources Namespace