home *** CD-ROM | disk | FTP | other *** search
- 101 \nWhoAmI has three ways of working: \n\nSyntax 1:\n
- 102 WHOAMI [/UPN | /FQDN | /LOGONID]\n\n
- 104 Syntax 2:\n
- 105 WHOAMI { [/USER] [/GROUPS] [/PRIV] } [/FO format] [/NH]\n\n
- 107 Syntax 3:\n
- 108 WHOAMI /ALL [/FO format] [/NH]\n\n
- 110 Description:\n
- 111 This utility can be used to get user name and group information\n
- 112 along with the respective security identifiers (SID), privileges,\n
- 113 logon identifier (logon ID) for the current user (access token)\n
- 114 on the local system. i.e. who is the current logged on user?\n
- 115 If no switch is specified, tool displays the user name in NTLM\n
- 116 format (domain\username).\n\n
- 119 Parameter List:\n
- 120 /UPN Displays the user name in User Principal \n
- 121 Name (UPN) format.\n\n
- 122 /FQDN Displays the user name in Fully Qualified \n
- 123 Distinguished Name (FQDN) format.\n\n
- 124 /USER Displays information on the current user\n
- 125 along with the security identifier (SID).\n\n
- 127 /GROUPS Displays group membership for current user,\n
- 128 type of account, security identifiers (SID)\n
- 129 and attributes.\n\n
- 130 /PRIV Displays security privileges of the current\n
- 131 user.\n\n
- 132 /LOGONID Displays the logon ID of the current user.\n\n
- 134 /ALL Displays the current user name, groups \n
- 135 belonged to along with the security \n
- 136 identifiers (SID) and privileges for the \n
- 137 current user access token.\n\n
- 139 /FO format Specifies the output format to be displayed.\n
- 140 Valid values are TABLE, LIST, CSV.\n
- 141 Column headings are not displayed with CSV\n
- 142 format. Default format is TABLE.\n\n
- 143 /NH Specifies that the column header should not\n
- 144 be displayed in the output. This is\n
- 145 valid only for TABLE and CSV formats.\n\n
- 146 /? Displays this help message.\n\n
- 148 Examples:\n
- 149 WHOAMI\n
- 150 WHOAMI /UPN\n
- 151 WHOAMI /FQDN \n
- 152 WHOAMI /LOGONID\n
- 153 WHOAMI /USER\n
- 154 WHOAMI /USER /FO LIST\n
- 155 WHOAMI /USER /FO CSV\n
- 156 WHOAMI /GROUPS\n
- 157 WHOAMI /GROUPS /FO CSV /NH\n
- 158 WHOAMI /PRIV\n
- 159 WHOAMI /PRIV /FO TABLE\n
- 160 WHOAMI /USER /GROUPS\n
- 161 WHOAMI /USER /GROUPS /PRIV\n
- 162 WHOAMI /ALL\n
- 163 WHOAMI /ALL /FO LIST\n
- 164 WHOAMI /ALL /FO CSV /NH\n
- 165 WHOAMI /?\n
- 302 ERROR: Invalid syntax. \nType "WHOAMI /?" for usage.\n
- 306 ERROR: Unexpected error occurred.\n
- 307 ERROR: Invalid format (/FO) specified.\nType "WHOAMI /?" for usage.\n
- 322 Enabled
- 323 Disabled
- 324 USER INFORMATION\n
- 325 GROUP INFORMATION\n
- 326 LOGON ID INFORMATION\n
- 327 PRIVILEGES INFORMATION\n
- 329 ERROR: Unable to get Fully Qualified Distinguished Name (FQDN) as the current\n logged-on user is not a domain user.\n
- 330 ERROR: Unable to get User Principal Name (UPN) as the current logged-on user\n is not a domain user.\n
- 331 ERROR: /NH switch cannot be used with the LIST format.\nType "WHOAMI /?" for usage.\n
- 400 User Name
- 401 SID
- 420 Group Name
- 421 Type
- 422 SID
- 423 Attributes
- 453 Privilege Name
- 454 Description
- 455 State
- 470 \nWARNING: User credentials cannot be used for local connections.\n
- 476 FQDN\n
- 477 UPN\n
- 478 -----\n
- 483 ----------------\n\n
- 484 -----------------\n\n
- 485 --------------------\n\n
- 486 ----------------------\n\n
- 487 ERROR: Unexpected error occurred - error code was %u.\n
- 488 ERROR: Unable to get group membership information.\n
- 500 User
- 501 Group
- 502 Domain
- 503 Alias
- 504 Well-known group
- 505 Deleted account
- 506 Invalid SID
- 507 Unknown SID type
- 510 Mandatory group
- 511 Enabled by default
- 512 Enabled group
- 513 Group owner
- 514 Group used for deny only
- 515 Logon ID
- 516 Local Group
- 5001 ERROR:
- 5002 WARNING:
- 5003 SUCCESS:
- 5004 INFO:
- 5005 N/A
- 5501 Type the password for %s:
- 5502 Passing the user credential for local connection.\n
- 5503 The target system must be running Windows XP or above.\n
- 5504 The remote system must be running Windows 2000 or above.\n
- 5601 Invalid syntax. '%s' value is not allowed for '%s' option.\n%s\n
- 5602 Invalid syntax. Specify valid numeric value for '%s'.\n%s\n
- 5603 Invalid syntax. Specifiy valid floating point value for '%s'.\n%s\n
- 5604 Invalid syntax. Mandatory option '%s' is missing.\n%s\n
- 5605 Invalid syntax. '%s' option is not allowed more than '%d' time(s).\n%s\n
- 5607 Invalid argument/option - '%s'.\n%s\n
- 5608 Invalid syntax. Default argument is missing.\n%s\n
- 5609 Length of the command line argument should not exceed 255 characters.\n
- 5610 Invalid syntax. Default option is not allowed more than '%d' time(s).\n%s\n
- 5611 Invalid syntax. Value expected for '%s'.\n%s\n
- 5612 Invalid syntax. '%s' value is not allowed as default argument.\n%s\n
- 5613 Type "%s /?" for usage.
- 5614 Value for '%s' option cannot be empty.\n%s\n
- 5615 Value for default option cannot be empty.\n%s\n
- 5616 Invalid syntax. Specify valid numeric value for default.\n%s\n
- 5617 Invalid syntax. Specifiy valid floating point value for default.\n%s\n
- 5618 Value for default option cannot be more than %d character(s).\n
- 5619 Invalid syntax. Value cannot be specified with '%s' option.\n%s\n
- 5620 Value for '%s' option cannot be more than %d character(s).\n
-