It's possible, but not absolute. Are you trying to automate user management? Can you give some more details about what you want and what you want to do with the data? That might help to spur some better information.
Basically, you can use lastlogontimestamp (dsquery makes it pretty easy if you want to use that) to find out about when the last time a user logged on assuming they triggered an update to this. Some actions don't trigger this update so a second data point is a useful thing to have to narrow it down even more. pwdLastSet is a useful data point IIRC. Al -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cothern Jeff D. Team EITC Sent: Monday, August 29, 2005 10:11 AM To: ActiveDir@mail.activedir.org Subject: [ActiveDir] determine number of users logged on last 60 days Is there query I could run that would tell me the number of users -minus service accounts (guess filter by OU) that have logged on in the last 60 days. Jeff Cothern List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/