Sometimes to set permissions, or to view the SID code of a personal Windows account when programming, share an easy way.
CMD execution:
WHOAMI view currently logged in user
Whoami/user view current logged in user and SID number
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4A/1B/wKioL1QijQaRzJ6IAAGLMhR9a0U954.jpg "title=" 2014-09-24_171806.jpg "alt=" Wkiol1qijqarzj6iaaglmhr9a0u954.jpg "/>
For example, after the SID all out, can be copied out, very handy little tricks.
If you feel good, you can set the following URL navigation for the homepage or click, Support the author, thank you very much.
http://www.2345.com/?k279247
This article is from the "Farmers It Technology blog" blog, please be sure to keep this source http://hangyc.blog.51cto.com/427521/1557817
How to get the SID value of the current account in Windows system