How to get USER ACCOUNT ID in windows?
-
wrote on 27 Feb 2017, 09:13 last edited by
I'm trying to get user account id in windows, but no success. I tried QProcess but isn't possible.
C# gives this in below code -
int sessionId = System.Diagnostics.Process.GetCurrentProcess().SessionId;Here is the screen shot of task manager which shows you the ID of user - https://hub.mangoapps.com/sf/ODE0MDRfMTMwMDg1Ng
Thanks in advance.
-
wrote on 27 Feb 2017, 10:11 last edited by