How to read Remote login(Through RDP or Citrix) user name (Client User) from Local machine.
I am able to find only Local user name using WTSQuerySessionInformationW(WTS_CURRENT_SERVER_HANDLE, dwSessionId, WTSUserName, &pUserName, &user_name_len) . Basically I need to copy one file to Client Desktop. Pls Advice me, how to do it?