LSA_LAST_INTER_LOGON_INFO structure (ntsecapi.h)

The LSA_LAST_INTER_LOGON_INFO structure contains information about a logon session.

Syntax

typedef struct _LSA_LAST_INTER_LOGON_INFO {
  LARGE_INTEGER LastSuccessfulLogon;
  LARGE_INTEGER LastFailedLogon;
  ULONG         FailedAttemptCountSinceLastSuccessfulLogon;
} LSA_LAST_INTER_LOGON_INFO, *PLSA_LAST_INTER_LOGON_INFO;

Members

LastSuccessfulLogon

The time that the session owner most recently logged on successfully.

LastFailedLogon

The time of the most recent failed attempt to log on.

FailedAttemptCountSinceLastSuccessfulLogon

The number of failed attempts to log on since the last successful log on.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 R2 [desktop apps only]
Header ntsecapi.h