Enumerate distinct Windows user-session views: SMB client sessions connected to the local server, the user logged on to the system desktop, or Remote Desktop sessions on a specified Session Host. These methods expose different scopes; choose the one that answers the question. They identify accounts or session state and do not expose session credentials or establish that a session can be hijacked.
Variant:
Display Current User
powershell
RESTRICTED_ACCESS_BLUR_MARKER
RESTRICTED_ACCESS_BLUR_MARKER
RESTRICTED_ACCESS_BLUR_MARKER
RESTRICTED_ACCESS_BLUR_MARKER