Identify logged in user account from Windows service

Discussion in 'Scripting' started by sasahaga, Jan 9, 2023.

  1. sasahaga

    sasahaga MDL Novice

    Apr 28, 2020
    1
    0
    0
    I've got a Windows Service that listens for incoming http requests.
    Multiple windows users invoke service operations in parallel using a browser.

    Is it possible for Windows Service to somehow identify which logged in user calls its operations?
    I have only been able to acces system user name which is NT AUTHORITY\SYSTEM.