This documentation is archived and is not being maintained.

HttpContext.SkipAuthorization Property

Gets or sets a value that specifies whether the URLAuthorization module will skip the authorization check for the current request.

[Visual Basic]
Public Property SkipAuthorization As Boolean
public bool SkipAuthorization {get; set;}
public: __property bool get_SkipAuthorization();
public: __property void set_SkipAuthorization(bool);
public function get SkipAuthorization() : Boolean;
public function set SkipAuthorization(Boolean);

Property Value

true if the URLAuthorization module will skip the authorization check; otherwise, false. The default is false.


SkipAuthorization is for advanced use by authentication modules that need to redirect to an anonymous-allowed page. The Forms authentication module and Passport authentication module both set this property when redirecting to a configured login page. Setting this requires the ControlPrincipal flag to be set in Flags.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpContext Class | HttpContext Members | System.Web Namespace