Share via


SendAccessDeniedHeader Method

The SendAccessDeniedHeader method of the SPUtility class requests a user name and password, and then opens the Error page for an access denied exception so that the user must request access to the site or list from the owner.

Parameters

ex   A System.Exception object that represents the exception.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security