Find all disabled users

M

Mykhaylo Khodorev

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
 
C

Chriss3 [MVP]

"(&(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
 
M

Mykhaylo Khodorev

Thanks a lot!

Chriss3 said:
"(&(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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top