RE: Retrieving Logon Date and Time
From: Raj (Raj_at_discussions.microsoft.com)
Date: 06/25/04
- Next message: Jan Nitecki: "SChannel problems"
- Previous message: Abe Simpson: "Re: AES (Rijndael) Encryption with CryptoAPI"
- In reply to: Brandon Swamy: "Retrieving Logon Date and Time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Jun 2004 08:40:32 -0700
Get 'Access Token' by calling - OpenProcessToken
Get 'Logon Session ID' by calling - GetTokenInformation (TokenOwner InfoClass,
and TOKEN_ORIGIN buffer)
Finally Call "LsaGetLogonSessionData()" .
SECURITY_LOGON_SESSION_DATA::LogonTime will contain the logon Date & Time.
- &Raj.
"Brandon Swamy" wrote:
> I'm trying to retrieve the logon date and time of a user without using
> NetUserGetInfo(). Is there any other way of doing this? Thanks in advance
> for any help.
>
>
>
- Next message: Jan Nitecki: "SChannel problems"
- Previous message: Abe Simpson: "Re: AES (Rijndael) Encryption with CryptoAPI"
- In reply to: Brandon Swamy: "Retrieving Logon Date and Time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]