How to tell what username I am logged in as on Windows 7

Jeremy is correct whoami is one of the best ways to verify your login information. It has several flags that get the information in different ways.

  1. WhoAmI has three ways of working: 
  2.  
  3. Syntax 1: 
  4. WHOAMI [/UPN | /FQDN | /LOGONID] 
  5.  
  6. Syntax 2: 
  7. WHOAMI { [/USER] [/GROUPS] [/PRIV] } [/FO format] [/NH] 
  8.  
  9. Syntax 3: 
  10. WHOAMI /ALL [/FO format] [/NH] 
  11.  
  12. Description: 
  13. This utility can be used to get user name and group information 
  14. along with the respective security identifiers (SID), privileges, 
  15. logon identifier (logon ID) for the current user (access token) 
  16. on the local system. i.e. who is the current logged on user? 
  17. If no switch is specified, tool displays the user name in NTLM 
  18. format (domainusername). 
  19.  
  20. Parameter List: 
  21. /UPN Displays the user name in User Principal 
  22. Name (UPN) format. 
  23.  
  24. /FQDN Displays the user name in Fully Qualified 
  25. Distinguished Name (FQDN) format. 
  26.  
  27. /USER Displays information on the current user 
  28. along with the security identifier (SID). 
  29.  
  30. /GROUPS Displays group membership for current user, 
  31. type of account, security identifiers (SID) 
  32. and attributes. 
  33.  
  34. /PRIV Displays security privileges of the current 
  35. user. 
  36.  
  37. /LOGONID Displays the logon ID of the current user. 
  38.  
  39. /ALL Displays the current user name, groups 
  40. belonged to along with the security 
  41. identifiers (SID) and privileges for the 
  42. current user access token. 
  43.  
  44. /FO format Specifies the output format to be displayed. 
  45. Valid values are TABLE, LIST, CSV. 
  46. Column headings are not displayed with CSV 
  47. format. Default format is TABLE. 
  48.  
  49. /NH Specifies that the column header should not 
  50. be displayed in the output. This is 
  51. valid only for TABLE and CSV formats. 
  52.  
  53. /? Displays this help message. 
  54.  
  55. Examples: 
  56. WHOAMI 
  57. WHOAMI /UPN 
  58. WHOAMI /FQDN 
  59. WHOAMI /LOGONID 
  60. WHOAMI /USER 
  61. WHOAMI /USER /FO LIST 
  62. WHOAMI /USER /FO CSV 
  63. WHOAMI /GROUPS 
  64. WHOAMI /GROUPS /FO CSV /NH 
  65. WHOAMI /PRIV 
  66. WHOAMI /PRIV /FO TABLE 
  67. WHOAMI /USER /GROUPS 
  68. WHOAMI /USER /GROUPS /PRIV 
  69. WHOAMI /ALL 
  70. WHOAMI /ALL /FO LIST 
  71. WHOAMI /ALL /FO CSV /NH 
  72. WHOAMI /?