NT Authentication

Hi, How can I access Win NT authentication information from a VB App? The scenario is as follows. I have a VB App that I am developing. If I log into this app, the application should check with Win NT authentication information and provide me access to the resources in the app if I am a valid user. if not it should reject my login.

please revert back with the solution asap.

Thanks
[401 byte] By [lrgprasad] at [2007-11-15 16:16:22]
# 1 Re: NT Authentication
Use API function
Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long

This is give you information about username.
Check username and all.
Tower at 2007-11-10 0:59:14 >