hi all,
I need to know a unique value of the remote client from the server rdp.
is possible?
Thank you for your reponse.
Function ListUsersTs()
local oLoc := CreateObject( "wbemScripting.SwbemLocator" )
local oSrv := oLoc:ConnectServer(,"root\cimv2")
local aDat := oSrv:ExecQuery( "SELECT * FROM Win32_UserAccount" )
Local oDat
Local aRet := {""}
For each oDat in aDat
AADD(aRet, AllTrim( Upper( oDat:Name ) ) )
Next
Return( aRet )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 96 guests