May 24, 2001 #1 vinu77 Programmer Jan 11, 2001 13 0 0 IN Hi Buddy, Is it possible to retrieve windows NT login name form client machine in the domain. client os is windows 98. and server is NT server 4.0. thanx
Hi Buddy, Is it possible to retrieve windows NT login name form client machine in the domain. client os is windows 98. and server is NT server 4.0. thanx
May 24, 2001 1 #2 jmarler Programmer Jan 29, 2001 679 0 0 US Use the GetUserName API. Here is the declaration . . . Code: Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long - Jeff Marler B-) Upvote 0 Downvote
Use the GetUserName API. Here is the declaration . . . Code: Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long - Jeff Marler B-)
May 25, 2001 #3 dsi Programmer Mar 13, 2000 964 0 0 US There is a complete example in the FAQ section of the VB 5&6 forum. Upvote 0 Downvote