IWebDocumentViewerAuthorizationService.CanReadDocument(String) Method
Specifies whether document retrieval from the server is permitted.
Namespace: DevExpress.XtraReports.Web.WebDocumentViewer
Assembly: DevExpress.XtraReports.v24.1.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
Parameters
Name | Type | Description |
---|---|---|
documentId | String | A String value that identifies the report document. |
Returns
Type | Description |
---|---|
Boolean | true, if the user is permitted to read the document; otherwise, false. |
Remarks
Allows you to prevent unauthorized operations with a document. The list of operations includes all operations in which the document is read:
- Text search in the document
- Creating an image of the document page that involves page rendering
- Page brick mapping
- Synchronous export and print
- Start of the asynchronous export or print operation
- Document generation status retrieval
- Operation that stops or cancels document generation
- Operation that read the document to retrieve additional information, such as editable field content, document map, sort order, drill-down state or export options
- Custom document operation that the client initiates (the client calls the PerformCustomDocumentOperation method)
See Also