Table of Contents

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

user ClaimsPrincipal

The request's user, or null when anonymous.

path string

The report's path.

Returns

bool

True to allow.