Click or drag to resize
ControllerProxyForbid Method
Creates an HttpStatusCodeResult that produces a Forbidden response.

Namespace: Kentico.Web.Mvc.Internal
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
protected HttpStatusCodeResult Forbid()

Return Value

Type: HttpStatusCodeResult
The created HttpStatusCodeResult for the response.
See Also