Method CanExport
- Namespace
- ReportWright.AspNetCore
- Assembly
- ReportWright.AspNetCore.dll
CanExport(ClaimsPrincipal?, string)
Whether the user may export a report. Viewing by default.
public virtual bool CanExport(ClaimsPrincipal? user, string path)
Parameters
userClaimsPrincipalThe request's user, or null when anonymous.
pathstringThe report's path.
Returns
- bool
True to allow.