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.
Page 1 / 1
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.
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.
Interesting!!
What filter criteria are you talking about here?
Are you using the .NET DirectoryServices class?
Regards,
Ockert
What filter criteria are you talking about here?
Are you using the .NET DirectoryServices class?
Regards,
Ockert
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.
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.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.