Solved

authontify nt users throw VB6

Posted on 2003-10-25
7
230 Views
Last Modified: 2010-05-03
Dear experts,

Is there a way to verify user name and password from a windows 2000 workstation to a windows NT4 or windows 2000 server throw Visual Basic?

And if no with VB6 is it with VB.NET?

And if it is possible can I run this application when the windows 2000 is not Logged on.

Thanks in advance
0
Comment
Question by:LeDaouk
  • 2
  • 2
7 Comments
 
LVL 39

Accepted Solution

by:
appari earned 125 total points
ID: 9621275
HOWTO article on MSDN,

HOWTO: Validate User Credentials on Microsoft Operating Systems
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q180548.ASP&NoWebContent=1


equivalent VB code you can get it here,

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=21391&lngWId=1

you can either convert the vb code to vb.net or make dll in vb and use it in vb.net.
0
 
LVL 9

Assisted Solution

by:Dang123
Dang123 earned 125 total points
ID: 9623523
Here is a description on doing it through VB (VB6 in this case)


http://www.mvps.org/vbnet/code/network/acceptsecuritycontext.htm
0
 
LVL 9

Expert Comment

by:Dang123
ID: 10309608
Between the posts here, LeDaouk should be able to get what s/he needs.
0
 
LVL 39

Expert Comment

by:appari
ID: 10317093

yeah i agree with Dang123.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now