Microsoft Internet Security and Acceleration Server 2004 SDK

MprAdminConnectionRemoveQuarantine

The MprAdminConnectionRemoveQuarantine function removes quarantine filters on a dialed-in RAS client if the filters were applied as a result of Internet Authentication Service (IAS) policies.

DWORD MprAdminConnectionRemoveQuarantine(
  HANDLE hRasServer,
  HANDLE hRasConnection,
  BOOL fIsIpAddress
);

Parameters

hRasServer
[in] Handle to the RAS server that services the connection. Obtain this handle by calling MprAdminServerConnect.
hRasConnection
[in] Handle to connection for the RAS client for which to remove the quarantine filters. Obtain this handle by calling MprAdminConnectionEnum.

Alternatively, this parameter specifies the IP address of the RAS client for which to remove the quarantine filter. The IP address should be specified as a DWORD in network byte order. Obtain the IP address by calling MprAdminConnectionEnum. If this parameter specifies an IP address, the fIsIpAddress parameter should specify a TRUE value.

fIsIpAddress
[in] Boolean value that indicates whether the hRasConnection parameter specifies the IP address of the client for which to remove the quarantine filters. If this parameter is a TRUE value, hRasConnection specifies an IP address. Otherwise, hRasConnection specifies a handle to a connection.

Return Values

NO_ERROR
The function succeeded.
ERROR_INVALID_PARAMETER
The handle to the RAS server or the handle to the RAS connection is invalid.
Other
An error from MprError.h, RasError.h, or WinError.h.

Remarks

The MprAdminConnectionRemoveQuarantine function is used by a custom listener component that you create. This component listens for messages from a notifier component running on quarantine-compatible remote access clients. These messages indicate that the clients have successfully run the scripts which validate that they conform to the requirements of your organization's network policies. When the listener component receives this message from the notifier component running on a client, it calls MprAdminConnectionRemoveQuarantine to remove the quarantine restrictions from the remote access connection. ISA Server then chains the call to Routing and Remote Access.

A listener component that calls MprAdminConnectionRemoveQuarantine must be running as under a system administrator account.

Requirements

Server: Requires Windows Server 2003.
Version: Requires Internet Security and Acceleration Server 2004.
Library: Included as a resource in Vpnplgin.dll.

See Also

Administration Reference