Anyone know how to find the novell client user and pwd from VB application?
Printable View
Anyone know how to find the novell client user and pwd from VB application?
What Are You Trying To Do?
Grab Some Ones password On The NetWork?
I Was Looking Into Doing Some thing Almost the Same Except I Found Out that You Need The Novel Developer Sdk Or Sumtin like That but i had allready Gatherd a bunch of code that will work with out the sdk
You Could Fake A Novel Login Screen
Not trying to grab passwords....just needed the usernames. I have a VB application which needs to be auto-logged into with the same userid as the network userid. Any ideas how to get this? What API or library would be needed?
Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpbuffer As String, nSize As Long) As Long
Public Function GetUserNameApi()
Dim sBuffer As String
Dim lSize As Long
sBuffer = Space$(255)
lSize = Len(sBuffer)
Call GetUserName(sBuffer, lSize)
If lSize > 0 Then
GetUserNameApi = Left$(sBuffer, lSize)
Else: End If
GetUserNameApi = vbNullString
End Sub
Try That Api Call
Opps
Its Suspose To Be 'End Function' Not 'End Sub' and Im Not Sure If it Works up anything But 9x
Thanks. Its for Win95 on novell...I'll try it.