Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Controllers.ControllerImpl.NotAuthorized Method

An action result that results in a 403 Not Authorized exception.

Class: YetaWF.Core.Controllers.ControllerImpl
Namespace: YetaWF.Core.Controllers
Assembly: YetaWF.Core

Syntax

protected ActionResult NotAuthorized();
protected ActionResult NotAuthorized();
protected ActionResult NotAuthorized( string? message );

Parameters

message

The message text to be shown on an error page (GET requests only) along with the 403 exception.

Return Value

An action result.

See Also YetaWF.Core.Controllers.ControllerImpl ClassYetaWF.Core Overview