asp.net.ph

HttpContext.SkipAuthorization Property

System.Web Namespace   HttpContext Class


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

[ VB ]
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.

See Also

HttpContext Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph