If your domain is 2003 (functionnal mode), then there is also the
lastLogonTimestamp attribute, which is replicated between DC every 14 days.
You may use this addon:
http://www.microsoft.com/downloads/details.aspx?FamilyID=7AF2E69C-91F3-4E63-8629-B999ADDE0B9E&displaylang=en
copy and register the acctinfo.dll. You will have a new tab on user
properties on ADUC (dsa.msc) which indicates the lastlogon.
You may also use a former quest tool, QDD which was freeware.
Or use the joe great oldcmp:
http://www.joeware.net/freetools/tools/oldcmp/index.htm
--
Cordialement,
Mathieu CHATEAU
http://lordoftheping.blogspot.com
"Bill" <Bi...@discussions.microsoft.com> wrote in message
news:E4D09EB7-966E-4EEC...@microsoft.com...
To query for all users that are members of a particular group the filter
would be:
(memberOf=cn=MyGroup,ou=West,dc=MyDomain,dc=com)
You must specify the full Distinguished Name of the group. You could use
this in ADUC (View, Filter Options, Create custom filter, Customize,
Advanced, and enter the filter), or in a VBScript program using ADO. The
filter can also be used with Joe Richards' adfind utility. Or your can
retrieve all direct members of a group with:
dsget group "cn=MyGroup,ou=West,dc=MyDomain,dc=com" -expand -members
You might be able to combine these (dsget and dsquery) to get what you want
(assuming your domain is at W2k3 functional level), but I haven't figured
out how.
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--
"Bill" <Bi...@discussions.microsoft.com> wrote in message
news:DA4EC16C-09A4-4784...@microsoft.com...