Check if IP address id allowed and if not redirects to the page specified in App settings, key CMSBannedIPRedirectURL.
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- siteName
- Type:
System String
Ban settings of this site will be used
- banType
- Type: CMS.Protection BanControlEnum
Which ban type should be checked
Return Value
Type:![Online Online](./../icons/online_icon.gif)
See Also