HttpContext.SkipAuthorization Property

Gets or sets a value that specifies whether the UrlAuthorizationModule object should skip the authorization check for the current request.

Namespace: System.Web
Assembly: System.Web (in system.web.dll)

public bool SkipAuthorization { get; set; }
/** @property */
public boolean get_SkipAuthorization ()

/** @property */
public void set_SkipAuthorization (boolean value)

public function get SkipAuthorization () : boolean

public function set SkipAuthorization (value : boolean)

Property Value

true if the UrlAuthorizationModule should skip the authorization check; otherwise, false. The default is false.

The SkipAuthorization property is intended for advanced use by authentication modules that need to redirect to a page that allows anonymous connections. The Forms authentication module and Passport authentication module both set SkipAuthorization when redirecting to a configured logon page. Setting SkipAuthorization requires the ControlPrincipal flag to be set.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0