How does Citrix DaaS know who is connected to a particular virtual desktop?
The question is related to porting Windows .NET desktop applications (Winforms) to the cloud using Citrix DaaS. These applications must know who is using them, and at present they rely on this .NET call:
System.Security.Principal.WindowsIdentity.GetCurrent().Name;
which returns {DOMAIN-NAME}/{WINDOWS-USER-LOGON}
And what if there are two shifts, day-shift and night-shift, and employees share virtual desktops so that the virtual desktop is not dedicated to a single employee?
As far as I could test and the documentation confirmed:
The current logged on user in .NET with the format 'NetworkName\Username' will be returned with System.Security.Principal.WindowsIdentity.GetCurrent().Name