I\'m trying to use LsaLogonUser to create an interactive logon session, but it always returns STATUS_INVALID_INFO_CLASS (0xc0000003). From what I have found in searching online, the memory layout of t
I am REALLY trying to find a way to call OpenTokenByLogonId() function, and I am pretty stuck. Moreover I can\'t find any examples of it anywhere!
Is there a reliably way to determine the last user name to login to the system? I\'ve looked at LsaEnumerateLogonSessions() and LsaGetLogonSessionData() however they require elevation on Vista and lat
I\'m building a custom authentication subpackage for MSV1_0 for Windows 7. I\'ve used the msvsubauth sample in from the Windows SDK and I have 2 questions regarding some problems I\'m facing with that
I get this error return whether I try LsaQueryInformationPolicy() on the local host or on some other machine in the domain. The flags I use for LsaOpenPolicy() are POLICY_LOOKUP_NAMES | POLICY_VIEW_LO
I\'m trying to get the list of users currently logged into a machine. On Windows 7, I can call LsaEnumerateLogonSessions, then W开发者_如何学PythonTSQuerySessionInformation with WTSConnectState.