How to quickly get SID (security identifier) of the currently logon user via command line?
In windows 7 or Windows 8 its quite easy to get the SID of the currently logon user.
The command does not even require an elevated command prompt.
Just open a command prompt and type this command:
Sample output will be like this:
User Name SID
The SID, the computer name and the user name will be displayed.
In a domain environment, to get the FQDN for the currently logon user type this command:
Cheers..Just a quick tips.. Hope it helps..