Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SendAccessDeniedHeader method
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft