Link to home
Start Free TrialLog in
Avatar of vmaxx
vmaxx

asked on

Unlock NT accounts with VB6

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?
ASKER CERTIFIED SOLUTION
Avatar of nzjonboy
nzjonboy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vmaxx
vmaxx

ASKER

Havent tried it yet, but it looks like it.

thanks