Unix "Who" equival in VB
-
Hello, Is there any way to get to know who all are currently logged on to the system? Regards, ~A
Try the GetUserName API call:
Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (lpBuffer As Byte, nSize As Long) As Long
-- David Wengier Sonork ID: 100.14177 - Ch00k
-
Try the GetUserName API call:
Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (lpBuffer As Byte, nSize As Long) As Long
-- David Wengier Sonork ID: 100.14177 - Ch00k
-
Sorry, This will give the currently logged user. Suppose I am the admin, then I wanted the list of all the users that are logged on to my the domain. I didnt want "who am i" equival but a "who" equival of unix. Thanx and Regards, ~A.
Sorry, must not have read the question properly. Have a look here: http://www.mvps.org/vbnet/code/network/index.html -- David Wengier Sonork ID: 100.14177 - Ch00k
-
Sorry, must not have read the question properly. Have a look here: http://www.mvps.org/vbnet/code/network/index.html -- David Wengier Sonork ID: 100.14177 - Ch00k