Get Current User SID
-
Friday, August 03, 2012 2:01 PM
Hi
My application is running as a service i.e. in SYSTEM context and I need to find out the SID of the current user
I am using "GetTokenInformation" to get the SID. My current user is "Administrator" but I am getting the SID of the "SYSTEM" S-1-5-18.
Please help.
All Replies
-
Friday, August 03, 2012 2:12 PM
-
Friday, August 03, 2012 2:26 PMThe user who has logged in (Administrator in my case)
-
Friday, August 03, 2012 4:11 PM


