Export (0) Print
Expand All
Expand Minimize

SPUtility.SendAccessDeniedHeader method

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.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static void SendAccessDeniedHeader(
	Exception ex
)

Parameters

ex
Type: System.Exception

A System.Exception object that represents the exception.

Show:
© 2014 Microsoft