AAAccountingDataType enumeration (tsgpolicyengine.h)

Specifies the type of event that the ITSGAccountingEngine::DoAccounting method is being notified of.

Syntax

typedef enum __MIDL___MIDL_itf_tsgpolicyengine_0000_0000_0002 {
  AA_MAIN_SESSION_CREATION = 0,
  AA_SUB_SESSION_CREATION,
  AA_SUB_SESSION_CLOSED,
  AA_MAIN_SESSION_CLOSED
} AAAccountingDataType;

Constants

 
AA_MAIN_SESSION_CREATION
Value: 0
A new session was created.

The following fields in the AAAccountingData structure represented by the accountingData parameter are valid:


  • userName

  • clientName

  • authType

  • mainSessionId

AA_SUB_SESSION_CREATION
A new subsession was created by an existing connection.

The following fields in the AAAccountingData structure represented by the accountingData parameter are valid:


  • userName

  • resourceName

  • portNumber

  • protocolName

  • mainSessionId

  • subSessionId

AA_SUB_SESSION_CLOSED
A subsession was closed.

The following fields in the AAAccountingData structure represented by the accountingData parameter are valid:


  • numberOfBytesTransfered

  • numberOfBytesReceived

  • mainSessionId

  • subSessionId

AA_MAIN_SESSION_CLOSED
A connection was closed.

The following fields in the AAAccountingData structure represented by the accountingData parameter are valid:


  • mainSessionId

Requirements

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

See also

ITSGAccountingEngine::DoAccounting