Forrest logo
back to the whoami tool

whoami:tldr:9ed0c

whoami: Display the logon ID of the current user.
$ whoami /logonid
try on your machine

The command "whoami /logonid" is used in Windows to display the logon ID of the currently logged-in user.

When you run this command in the command prompt or PowerShell, it returns a unique identification number assigned to the user session. This logon ID is used by the system to track and manage various processes and resources associated with the user.

It can be useful in certain situations, such as troubleshooting or analyzing user-specific issues within a multi-user environment. It helps differentiate between different user sessions and provides information for diagnostics and troubleshooting purposes.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the whoami tool