SPSecurity.SuppressAccessDeniedRedirectInScope members

Suppresses the automatic redirect when an UnauthorizedException is thrown within the using scope.

The SPSecurity.SuppressAccessDeniedRedirectInScope type exposes the following members.

Constructors

  Name Description
Public method SPSecurity.SuppressAccessDeniedRedirectInScope Initializes a new instance of the SPSecurity.SuppressAccessDeniedRedirectInScope class.

Top

Methods

  Name Description
Public method Dispose Restores the CatchAccessDeniedException to the original setting.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPSecurity.SuppressAccessDeniedRedirectInScope class

Microsoft.SharePoint namespace