Re: User account properties - last modified
- From: "Al Mulnick" <amulnick_No_SPAM@xxxxxxxxxxx>
- Date: Wed, 20 Jul 2005 15:15:21 -0400
A query such as (&(objectCategory=Person)(objectClass=user)(whenchanged=*))
should give you all objects that have a whenchanged attribute. If you're
trying to query based on a certain change date (so as not to get all objects
returned, but only those changed since x) then you may just have a syntax
error.
A code snippet would be helpful here.
Al
"Keith" <Keith@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CDDD0058-F4F9-4A78-9C9E-E146EBF66B9D@xxxxxxxxxxxxxxxx
> It has recently become a requirement at my company to have a report
> showing
> all user accounts modified in tha past x months.
>
> I thought this information could be found fairly easily by running a
> script
> similar to the one used to determine accounts that have not logged in for
> the
> past x months, but either it isn't quite so simple, or I have the
> attribute
> name incorrect. I am trying to show the property WhenChanged and the
> result
> is "failed to get user properties".
>
> I have looked for a solution in the w2k Resource Kit tools and scripts,
> but
> chkuser.vbs doesn't recognize WhenChanged and useraccount.vbs doesn't list
> the last modified date.
>
> Can anyone tell me if that is the corrct attribute name?
> Is there an existing script or tool that can provide the last modified
> date
> of an account?
>
> Thank you for your help,
>
> Keith
.
- Follow-Ups:
- Re: User account properties - last modified
- From: Paul Williams [MVP]
- Re: User account properties - last modified
- References:
- User account properties - last modified
- From: Keith
- User account properties - last modified
- Prev by Date: Re: sIDHistory
- Next by Date: Re: sIDHistory
- Previous by thread: User account properties - last modified
- Next by thread: Re: User account properties - last modified
- Index(es):
Relevant Pages
|