Skip to main content
Nintex Community Menu Bar

Locate the disabled User Account.

  • January 19, 2006
  • 3 replies
  • 29 views

Forum|alt.badge.img+2
Dear All,

I am working on get users list from AD. Is there anyway to find out the disabled User account and stop retriving that programatically using K2MNG.

Regards,
Minor.

3 replies

Forum|alt.badge.img+2
  • Author
  • January 19, 2006
Dear All,

I myself found out the solution this problem.

Just add (!userAccountControl:1.2.840.113556.1.4.803:=2) this in your filter criteria.

It will not fetch the disabled accounts anymore.

Rgds,
Minor.

Forum|alt.badge.img+11
  • Nintex Employee
  • January 19, 2006
Interesting!!

What filter criteria are you talking about here?
Are you using the .NET DirectoryServices class?

Regards,
Ockert

Forum|alt.badge.img+2
  • Author
  • January 19, 2006
Yes you are right. Iam using the .NET DirectoryServices class.

I was searching users from AD then I got the disabled users also.
So I have included the below criteria in the Filter.
Now I am getting only the Enabled users.

Rgds,
Minor.