CMSPageRedirectToAccessDenied Method (String, String) |
Redirects the user to Access denied page
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntaxpublic static void RedirectToAccessDenied(
string resourceName,
string permissionName
)
Parameters
- resourceName
- Type: SystemString
Resource name that failed - permissionName
- Type: SystemString
Permission name that failed
See Also