Returns true if client IP address is allowed to access the site, false if it is banned.
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- ipAddress
- Type: System String
Check this ip address
- 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: BooleanSee Also