ACCOUNTINGPROPERTIES Enumeration

Note  Internet Authentication Service (IAS) was renamed Network Policy Server (NPS) starting with Windows Server 2008. The content of this topic applies to both IAS and NPS. Throughout the text, NPS is used to refer to all versions of the service, including the versions originally referred to as IAS.
 
The values of the ACCOUNTINGPROPERTIES type enumerate properties that control what types of packets are logged and characteristics of the log file.

Syntax

typedef enum _ACCOUNTINGPROPERTIES {
  PROPERTY_ACCOUNTING_LOG_ACCOUNTING,
  PROPERTY_ACCOUNTING_LOG_ACCOUNTING_INTERIM,
  PROPERTY_ACCOUNTING_LOG_AUTHENTICATION,
  PROPERTY_ACCOUNTING_LOG_OPEN_NEW_FREQUENCY,
  PROPERTY_ACCOUNTING_LOG_OPEN_NEW_SIZE,
  PROPERTY_ACCOUNTING_LOG_FILE_DIRECTORY,
  PROPERTY_ACCOUNTING_LOG_IAS1_FORMAT,
  PROPERTY_ACCOUNTING_LOG_ENABLE_LOGGING,
  PROPERTY_ACCOUNTING_LOG_DELETE_IF_FULL,
  PROPERTY_ACCOUNTING_SQL_MAX_SESSIONS,
  PROPERTY_ACCOUNTING_LOG_AUTHENTICATION_INTERIM,
  PROPERTY_ACCOUNTING_LOG_FILE_IS_BACKUP,
  PROPERTY_ACCOUNTING_DISCARD_REQUEST_ON_FAILURE
} ACCOUNTINGPROPERTIES;

Constants

PROPERTY_ACCOUNTING_LOG_ACCOUNTING Specifies whether accounting packets are logged.
PROPERTY_ACCOUNTING_LOG_ACCOUNTING_INTERIM Specifies whether interim accounting packets are logged.
PROPERTY_ACCOUNTING_LOG_AUTHENTICATION Specifies whether authentication packets are logged.
PROPERTY_ACCOUNTING_LOG_OPEN_NEW_FREQUENCY Specifies how frequently a new log file is created. This property takes a value from the NEW_LOG_FILE_FREQUENCY enumeration type.
PROPERTY_ACCOUNTING_LOG_OPEN_NEW_SIZE Specifies a file size. The system creates a new log file if the current log file reaches this size, and the PROPERTY_ACCOUNTING_LOG_OPEN_NEW_FREQUENCY property is set to the value IAS_LOGGING_WHEN_FILE_SIZE_REACHES.
PROPERTY_ACCOUNTING_LOG_FILE_DIRECTORY The file-system path to the directory where the log file is located. This path does not include the filename. It also does not include a trailing backslash.
PROPERTY_ACCOUNTING_LOG_IAS1_FORMAT Specifies whether the log should be in NPS format or database convertible format. This property can have the following values.
Value Meaning
0 (VARIANT_FALSE) NPS Format
0xFFFF (VARIANT_TRUE) Database Convertible Format
PROPERTY_ACCOUNTING_LOG_ENABLE_LOGGING Not used.
PROPERTY_ACCOUNTING_LOG_DELETE_IF_FULL Causes the accounting log to be deleted when full.
PROPERTY_ACCOUNTING_SQL_MAX_SESSIONS Maximum number of concurrent SQL server sessions.
PROPERTY_ACCOUNTING_LOG_AUTHENTICATION_INTERIM Causes NPS to log interim access-request/access-challenge pairs for an EAP session. Otherwise, it only logs the final access-request/access-accept/reject.
PROPERTY_ACCOUNTING_LOG_FILE_IS_BACKUP
PROPERTY_ACCOUNTING_DISCARD_REQUEST_ON_FAILURE

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2008
Header sdoias.h

See Also

Automation Types

NEW_LOG_FILE_FREQUENCY

VARIANT