Name

whoamiRK

Synopsis

whoami

Display the username of the currently logged-in user.

Options

/User

Display username (required if this information is desired along with additional options).

/Groups

Display group memberships.

/Priv

Display user rights.

/SID

Display SIDs along with other information (can’t be used alone).

/All

Display entire security access token.

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.