摘要:
In Win32, call GetTokenInformation, passing a token handle and the TokenUser constant. It will fill in aTOKEN_USER structure for you. One of the elements in there is the user's SID. It's a BLOB (binary), but you can turn it into a string by using ConvertSidToStringSid. To get hold of the cur 阅读全文
posted @ 2010-12-27 13:38
好好学习,天天进步
阅读(188)
评论(0)
推荐(0)