Re: Question about Active Directory and last time user has logged on
- From: "Ali, Saqib" <docbook.xml@xxxxxxxxx>
- Date: Tue, 28 Aug 2007 15:55:41 -0700
On 8/28/07, Mary Hendrix <maryhendrix@xxxxxxxxx> wrote:
Is there a way to find out the last time a user has logged into a domain?
If you have AD, then the following LDAP attribute holds the last logon time:
{lastLogon}
You can extract that using a simple vbscript.
Note: The returned value will be the NT System time. To convert to
regular time use the following:
w32tm /ntte {returned int}
saqib
http://security-basics.blogspot.com/
- Follow-Ups:
- RE: Question about Active Directory and last time user has logged on
- From: Roger A. Grimes
- RE: Question about Active Directory and last time user has logged on
- References:
- Question about Active Directory and last time user has logged on
- From: Mary Hendrix
- Question about Active Directory and last time user has logged on
- Prev by Date: RE: Question about Active Directory and last time user has logged on
- Next by Date: Re: any recommendable anti-ddos solution?
- Previous by thread: RE: Question about Active Directory and last time user has logged on
- Next by thread: RE: Question about Active Directory and last time user has logged on
- Index(es):
Relevant Pages
|