Unlocking locked account

From: Ivan Karpov (nbdnwhr@mail.no.spam.ru)
Date: 02/19/03


From: "Ivan Karpov" <nbdnwhr@mail.no.spam.ru>
Date: Tue, 18 Feb 2003 18:10:45 -0500


How do I programmatically unlock the NT domain account? Is there a
difference between unlocking account that was locked as a result of
incorrect logins and account that was locked as a result of administrator's
action?
What Win2000/XP permission should my user have to unclock the account?

Thank you.