Table of Contents

Method CanView

Namespace
ReportWright.AspNetCore
Assembly
ReportWright.AspNetCore.dll

CanView(ClaimsPrincipal?, string)

Whether the user may run and view a report.

public abstract bool CanView(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.