ICIManualIPAccessRule Interface
The ICIManualIPAccessRule interface represents an IP address access rule that was added manually.
Example (VBScript):
rules = oServer.GetIPAccessRules() For Each key In rules If key.type = 0 ThenWScript.echo "AutoBan" End if If key.type = 1 Then WScript.echo "Manual " + key.address WScript.echo "Added " + key.added WScript.echo "Allow " + key.allow End if Next
Members
-
Property Address As String (read-only)
Retrieves the IP address.
HRESULT Address([out, retval] BSTR* pbzAddress);
EFT v6.3.0 and later
Property Added As Date (read-only)
Retrieves the date when the IP access rule was added.
HRESULT Added([out, retval] DATE* pdAdded);
EFT v6.3.0 and later
Property Allow As Boolean (read-only)
Retrieves whether the IP access rule is a permission or ban.
HRESULT Allow([out, retval] VARIANT_BOOL* pbAllow);
EFT v6.3.0 and later
Retrieves the reason for the IP access rule.
HRESULT Reason([out, retval] BSTR* pbzReason);
EFT v8 and later
Property type As IPAccessRuleType (read-only)
Retrieves the type of the rule.
HRESULT type([out, retval] IPAccessRuleType* pVal);
EFT v6.3.0 and later
Related Topics
-
ICIAutobanIPAccessRule - Provides the Autoban IP access rule BannedIPs property
-
ICIBannedIP - Represents an entry in an IP address autoban list
-
AddIPAccessRule - Adds allowed (true) or denied (false) IP mask for the client
-
GetIPAccessRules - Retrieves an array of client/template IP Access rules
-
GetLimitAccessByIP - Determines if the IP Access Restriction List is enabled on the Settings Template or user account
-
IPAccessAllowedDefault - Set or retrieve whether user or Settings Template IP access settings allow or deny access by default (if no rule match)
-
MoveIPAccessRule - Change allowed IP access rule position
-
AddIPAccessRule - Adds allowed or denied IP mask for administration
-
GetAdminIPs - Retrieve an array of IP addresses for the computer on which the Server is running
-
GetIPAccessRules - Retrieve an array of administration IP address access rules
-
GetLocalIP - Given an index, retrieves a Local IP address
-
IPAccessAllowedDefault - Retrieve or specify the default IP Access restriction list
-
ListenIP - Retrieve or specify the server's IP address
-
ListenIPs - Retrieve or specify the IP addresses on which the server listens
-
MoveIPAccessRule - Change allowed administration IP access rule position.
-
RemoveIPAccessRule - Remove allowed or denied IP mask for administration
-
UnbanIP - Remove denied IP mask from Autoban list for administration
-
AddIPAccessRule - Adds allowed or denied IP mask for the Site
-
AutoBanIPsPermanently - Retrieve or specify whether to automatically ban IP addresses permanently
-
BanIPForInvalidLoginAttempts - Retrieve or specify whether to ban an IP address after excessive invalid login attempts with existing username and wrong password.
-
BanIPForInvalidLoginAttemptsWithExistingUsername - When banning an IP address for invalid login attempts, specify whether to count incorrect username and correct username + incorrect password or only incorrect username attempts.
-
BanIPOnDOS - Retrieve or specify whether to ban an IP address after excessive invalid commands
-
GetIP - Retrieves the index of the Site Listen IP
-
GetIPAccessRules - Retrieves an array of allowed IP masks.
-
IPAccessAllowedDefault - Retrieve or specify whether IP access is allowed by default
-
ListenIPs - Retrieve or specify the IP addresses on which the Site listens
-
MoveIPAccessRule - Change allowed or denied IP mask position for the Site
-
RemoveIPAccessRule - Remove allowed or denied IP mask for the Site
-
SetIP - Changes the index of Listen IP
-
UnbanIP - Removes denied IP mask from the Autoban list for the Site
-
IPAccessRuleType enum