hi all,
I need to know a unique value of the remote client from the server rdp.
is possible?
Thank you for your reponse.
client RDP info
client RDP info
Ciao, best regards,
Ugo
Ugo
- pablovidal
- Posts: 398
- Joined: Thu Oct 06, 2005 10:15 pm
- Location: Republica Dominicana
- Contact:
Re: client RDP info
Hello,
What I do is to take the user name with which the user entered.
What I do is to take the user name with which the user entered.
Code: Select all
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 )
Saludos,
Pablo Alberto Vidal
/*
------------------------------------------------------
Harbour 3.2.0, Fivewin 17.02, BCC7
------------------------------------------------------
*/
Pablo Alberto Vidal
/*
------------------------------------------------------
Harbour 3.2.0, Fivewin 17.02, BCC7
------------------------------------------------------
*/