How to get USER ACCOUNT ID in windows?
Solved
General and Desktop
-
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.
-