Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to know when a user account is disabled in Active Directory

Reply
Thread Tools

How to know when a user account is disabled in Active Directory

 
 
David C. Barber
Guest
Posts: n/a
 
      10-14-2007
Answering an earlier post:

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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
preventing user account lockout in Active Directory keith chilton MCSA 5 02-08-2008 07:39 PM
Help resetting user account password in active directory teejayem@gmail.com ASP .Net 0 04-22-2007 02:50 PM
Account locked - Active Directory Bones Computer Support 2 10-19-2006 10:28 AM
VPN account PIX w/ active directory vhn2001 Cisco 0 09-07-2006 07:49 PM



Advertisments