Export (0) Print
Expand All

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
[C#]
public bool SkipAuthorization {get; set;}
[C++]
public: __property bool get_SkipAuthorization();
public: __property void set_SkipAuthorization(bool);
[JScript]
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.

Remarks

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.

Requirements

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

See Also

HttpContext Class | HttpContext Members | System.Web Namespace

Show:
© 2015 Microsoft