MprAdminAcceptReauthentication function (mprapi.h)

Remote Access Service calls the MprAdminAcceptReauthentication function whenever the quarantine state
of the client changes. MprAdminAcceptReauthentication determines whether the user is allowed to reauthenticate and connect after the quarantine state has changed.

The quarantine state of a connection is determined by the Network Access Protection (NAP) agent, and is stored in the rasQuarState member of the RAS_CONNECTION_3 structure.

Syntax

BOOL MprAdminAcceptReauthentication(
  [in] RAS_CONNECTION_0 *pRasConnection0,
  [in] RAS_CONNECTION_1 *pRasConnection1,
  [in] RAS_CONNECTION_2 *pRasConnection2,
  [in] RAS_CONNECTION_3 *pRasConnection3
);

Parameters

[in] pRasConnection0

Pointer to a RAS_CONNECTION_0 structure that describes this connection.

[in] pRasConnection1

Pointer to a RAS_CONNECTION_1 structure that describes this connection.

[in] pRasConnection2

Pointer to a RAS_CONNECTION_2 structure that describes this connection.

[in] pRasConnection3

Pointer to a RAS_CONNECTION_3 structure that describes this connection.

Return value

If MprAdminAcceptReauthentication accepts the connection, the return value should be TRUE.

If MprAdminAcceptReauthentication rejects the connection, the return value should be FALSE.

Remarks

Do not call any of the RAS Administration Functions or RAS User Administration Functions from inside MprAdminAcceptReauthentication. Calls to these functions do not return when made from within a callout function.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mprapi.h

See also

RAS Administration DLL

RAS Administration Functions

RAS_CONNECTION_0

RAS_CONNECTION_1

RAS_CONNECTION_2

RAS_CONNECTION_3

Remote Access Service Administration Reference