Solved

authontify nt users throw VB6

Posted on 2003-10-25
7
231 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

920 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

11 Experts available now in Live!

Get 1:1 Help Now