ReportRegistry.GetReport method
namespace: Serenity.Reporting assembly: Serenity.Net.Services
Returns report with the report key, optionally validating its permissions.
public Report GetReport(string reportKey, bool validatePermission = true)
parameter | description |
---|---|
reportKey | Report key |
validatePermission | Validate permission. Default true. |
Exceptions
exception | condition |
---|---|
ArgumentNullException | reportKey is n ull |
See Also
- class Report
- class ReportRegistry