AAAccountingData structure (tsgpolicyengine.h)

This structure contains information about a connection event.

Syntax

typedef struct __MIDL___MIDL_itf_tsgpolicyengine_0000_0000_0003 {
  BSTR          userName;
  BSTR          clientName;
  AAAuthSchemes authType;
  BSTR          resourceName;
  int           portNumber;
  BSTR          protocolName;
  int           numberOfBytesReceived;
  int           numberOfBytesTransfered;
  BSTR          reasonForDisconnect;
  GUID          mainSessionId;
  int           subSessionId;
} AAAccountingData;

Members

userName

The user name.

clientName

The name of the client computer.

authType

A value of the AAAuthSchemes enumeration type that specifies the type of authentication used to connect to RD Gateway.

resourceName

The name of the remote computer.

portNumber

The port number of the remote computer used by the connection.

protocolName

The name of the protocol used by the connection.

numberOfBytesReceived

The number of bytes sent from the client to the remote computer.

numberOfBytesTransfered

The number of bytes sent from the remote computer to the client.

reasonForDisconnect

The reason the connection was disconnected.

mainSessionId

A unique identifier assigned to the connection by RD Gateway.

subSessionId

A unique identifier assigned to the subsession by RD Gateway.

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Header tsgpolicyengine.h