Unlock NT accounts with VB6
Posted on 2002-03-19
I am trying to add this functionality to an app I have. I found some info on it, but was hoping to get a function if possible.
I see the constant UF_Lockout mentioned many times as well as the NetUserGetInfo function but nothing specifically on unlocking.
UF_LOCKOUT The account is currently locked out. For NetUserSetInfo, this value can be cleared to unlock a previously locked account. This value cannot be used to lock a previously unlocked account.
Anoyone seen anything on unlocking accounts?