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.
> Hi,
>
[quoted text clipped - 5 lines]
>
> Thanks.
DotNetDev - 19 Sep 2007 20:26 GMT
Any one??
> 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
[quoted text clipped - 9 lines]
> >
> > Thanks.
David C. Barber - 14 Oct 2007 03:21 GMT
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.
> Any one??
>
[quoted text clipped - 11 lines]
> > >
> > > Thanks.