Skip to main content

IWebDocumentViewerAuthorizationService.CanCreateReport() Method

Specifies whether report creation in the viewer’s internal storage is permitted.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.1.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

bool CanCreateReport()

Returns

Type Description
Boolean

true, if report creation is permitted; otherwise, false.

Remarks

Verifies whether the user can create a report in the viewer’s internal storage. If this method returns false, the Document Viewer fails on start. Implement this method to restrict users from previewing a report in the Report Designer.

See Also