The way to check for a disabled user in ActiveDirectory is to retrieve the
field "userAccountControl" and test bit &H2. If that bit is set, then the
account has been disabled. Sorry to take so long to get this information to
you.
"DotNetDev" <Do*******@discussions.microsoft.comwrote in message
news:8C**********************************@microsof t.com...
Any one??
"David C. Barber" wrote:
There's a status word and you have to check the account disabled bit in
it.
I've done this, but I don't have access to my code at the moment. I'll
see
if I can remember to get it tomorrow when I'm on my development system.
"DotNetDev" <Do*******@discussions.microsoft.comwrote in message
news:82**********************************@microsof t.com...
Hi,
>
I have been struggling to find if an account is disabled in AD.
>
I looked at a few examples, but didn't work for me.
>
I'm using .net 1.1 with AD on W2003 server.
>
Thanks.