Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Logon/Logoff user on W2k with VBscript?

Status
Not open for further replies.

Thix74

IS-IT--Management
Sep 19, 2001
2
0
0
FR
Hi everybody,

I need to check if the information loginname, password and domain (passed in a login window popup I did) are right or not.
For the loginname and the domain, it's ok, the "WinNT" provider has got the information I need to compare with.

But for the password, the only solution I see is to test to logon the loginname/password couple to see if they're right. If Yes, return TRUE (for exemple) and logoff, if No FALSE.
I don't want to ckrack passwords (or to lock accounts), so, I limit the test to only n-1 times (where "n" is the number of accepted false-login).
But right now, I didn't find the way to perform a logon/logoff action in VB-Script.

Please, if you know how :), answer me, I'm lost... :-(

Thanks in advance
Thierry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top