ICIAutobanIPAccessRule Interface

This interface provides the Autoban IP access rule BannedIPs property.

Example (VBScript):

rules = oSite.GetIPAccessRules()
For Each key In rules
If key.type = 0 Then
WScript.echo "AutoBan"
autoban = key.BannedIPs
For Each key2 In autoban
WScript.echo "Address " & CStr(key2.address)
WScript.echo "Banned " & CStr(key2.banned)
WScript.echo "Permanently " & CStr(key2.permanently)
WScript.echo "Expires " & CStr(key2.expires)
WScript.echo "Reason " & CStr(key2.reason)
Next
End if
Next

Properties

  • Property BannedIPs As Variant

  • read-only

    HRESULT BannedIPs([out, retval] VARIANT* pvarBannedIPs);

    EFT v6.3.0 and later

  • Property type As IPAccessRuleType

  • read-only

    HRESULT type([out, retval] IPAccessRuleType* pVal);

    EFT v6.3.0 and later

Related Topics