Click or drag to resize
CMSPageRedirectToAccessDenied Method (String, String, String, String, String)
Redirects the user to Access denied page

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
protected static void RedirectToAccessDenied(
	string pageUrl,
	string resourceName,
	string permissionName,
	string uiElementName,
	string message = null
)

Parameters

pageUrl
Type: SystemString
Access denied page URL
resourceName
Type: SystemString
Resource name that failed
permissionName
Type: SystemString
Permission name that failed
uiElementName
Type: SystemString
UI element name that failed
message (Optional)
Type: SystemString
Custom message
See Also