LSA_AP_LOGON_TERMINATED callback function (ntsecpkg.h)

Used to notify an authentication package when a logon session terminates. A logon session terminates when the last token referencing the logon session is deleted.

Syntax

LSA_AP_LOGON_TERMINATED LsaApLogonTerminated;

void LsaApLogonTerminated(
  [in] PLUID LogonId
)
{...}

Parameters

[in] LogonId

Pointer to the logon ID of the session that just ended.

Return value

None

Remarks

When LsaApLogonTerminated is called, an authentication package should release any resources held for the logon ID, such as credentials created within the LSA. The LSA does not automatically perform this cleanup.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header ntsecpkg.h