SPUtility.AccessDeniedPage Field
Contains the name of the “access denie”d page.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Const AccessDeniedPage As String
'Usage
Dim value As String
value = SPUtility.AccessDeniedPage
public const string AccessDeniedPage
Remarks
The value of this constant is “AccessDenied.aspx”.