Auto-create user directories in incoming.
See also issue #7 (closed).
Apparently there is no easy method to retrieve the interactively logged in user in Windows using C#, all attempts to so failed, including:
- https://stackoverflow.com/questions/7065561/from-windowsservice-how-can-i-find-currently-logged-in-user-from-c
- https://stackoverflow.com/questions/21676225/how-to-get-current-windows-username-from-windows-service-in-multiuser-environmen
- https://stackoverflow.com/questions/2077958/how-to-determine-the-current-windows-user-from-a-windows-service
Therefore, a reasonable workaround is required. Suggestion is to check the first-level subdirectories of C:\Users\
as any interactively logged on user will by default have one. Compare those to the list of first-level directories on the remote storage and create any matching pair in the local incoming location. Caching both lists of directories will allow to react only on changes.