dumpsid
Use the dumpsid
program to view an object’s security identifier (SID). An SID is a unique number that identifies user, group, and computer accounts in Windows. SIDs play a role in security descriptors and access control lists.
Usage
dumpsid.exe [\\<server>\]<userid>
See also
dumpacl is a similar program used to view elements of an object’s security descriptor.