Find all disabled users

Archived from groups: microsoft.public.win2000.active_directory (More info?)

Hi, all
Is it possible to find all disabled users by LDAP query? I couldn't find
such attribute in the User object
Thanks
Mykhaylo
2 answers Last reply
More about find disabled users
  1. Archived from groups: microsoft.public.win2000.active_directory (More info?)

    "(&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=2))"

    --
    Regards
    Christoffer Andersson
    Microsoft MVP - Directory Services

    No email replies please - reply in the newsgroup
    ------------------------------------------------
    http://www.chrisse.se - Active Directory Tips

    "Mykhaylo Khodorev" <ralfeus@chicagocentre.com.ua> skrev i meddelandet
    news:cs0sfc$31be$1@news.dg.net.ua...
    > Hi, all
    > Is it possible to find all disabled users by LDAP query? I couldn't
    > find such attribute in the User object
    > Thanks
    > Mykhaylo
    >
  2. Archived from groups: microsoft.public.win2000.active_directory (More info?)

    Thanks a lot!

    "Chriss3 [MVP]" <noSpamHere@chrisse.se> wrote in message
    news:%230HU7V$9EHA.3376@TK2MSFTNGP12.phx.gbl...
    > "(&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=2))"
    >
    > --
    > Regards
    > Christoffer Andersson
    > Microsoft MVP - Directory Services
    >
    > No email replies please - reply in the newsgroup
    > ------------------------------------------------
    > http://www.chrisse.se - Active Directory Tips
    >
    > "Mykhaylo Khodorev" <ralfeus@chicagocentre.com.ua> skrev i meddelandet
    > news:cs0sfc$31be$1@news.dg.net.ua...
    >> Hi, all
    >> Is it possible to find all disabled users by LDAP query? I couldn't
    >> find such attribute in the User object
    >> Thanks
    >> Mykhaylo
    >>
    >
    >
Ask a new question

Read More

Active Directory Microsoft LDAP Windows