The Security Identifier (SID) is used to uniquely identify trustees (users, groups, services, etc). Use whoami /user to see the current user’s SID

SIDs have the following format:

"S-" R "-" I "-" S
e.g. S-1-5-21-2536614405-3629634762-1218571035-1116

where:

  • S: a literal character
  • R: revision level (usually 1)
  • I: identifier-authority (usually 5 for built-in entities and Active Directory)
  • S: one or more subauthority values
    • domain’s numeric identifier, e.g. 21-2536614405-3629634762-1218571035
    • RID / relative identifier, e.g. 1116