|
-
July 20th, 2005, 01:07 PM
#4
Whoami Displays the CURRENT username and domain.
Displays the complete contents of the access token in the command window. Displays the user name and security identifier (SID), the group names, types, attributes and their SIDs, the
WHOAMI 2.0 @1997. Written by Christophe Robert([email protected]).
WHOAMI [/option] [/option] ...
Where /option is one of the following:
/ALL = Display all information in the current access token.
/NOVERBOSE = Display minimal information. *
/USER = Display user.
/GROUPS = Display groups.
/PRIV = Display privileges.
/LOGONID = Display Logon ID.
/SID = Display SIDs. *
/HELP = Display help.
* Must be used with option /USER, /GROUPS, /PRIV or/LOGONID
Samples are as follows:
WHOAMI
WHOAMI /ALL
WHOAMI /USER /SID
WHOAMI /GROUPS
WHOAMI /GROUPS /NOVERBOSE
WHOAMI /USER /GROUPS /SID
WHOAMI /PRIV /NOVERBOSE
WHOAMI /USER /GROUPS /PRIV
WHOAMI /HELP
If it displays only %USERNAME% then you are not logged onto the pc with a domain account.
09:F9:11:02:9D:74:E3:5B  8:41:56:C5:63:56:88:C0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|