Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Unlock NT accounts with VB6

Posted on 2002-03-19
2
Medium Priority
?
603 Views
Last Modified: 2009-12-16
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?
0
Comment
Question by:vmaxx
2 Comments
 
LVL 3

Accepted Solution

by:
nzjonboy earned 900 total points
ID: 6881430
0
 
LVL 1

Author Comment

by:vmaxx
ID: 6886804
Havent tried it yet, but it looks like it.

thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question