LsaGetLogonSessionData

[DllImport("SECUR32.dll", ExactSpelling = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern unsafe NTSTATUS LsaGetLogonSessionData(
    LUID* LogonId,
    SECURITY_LOGON_SESSION_DATA** ppLogonSessionData);

LUID

SECURITY_LOGON_SESSION_DATA

Last updated