local-security-authority
How do I correctly call LsaLogonUser for an interactive logon?
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[详细]
2023-04-10 06:48 分类:问答How to call OpenTokenByLogonId function?
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![详细]
2023-02-18 12:17 分类:问答WIN32 - Last user to login
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[详细]
2023-01-25 03:14 分类:问答Implementing custom windows authentication package
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[详细]
2023-01-20 12:00 分类:问答I get an Access Denied error when calling LsaQueryInformationPolicy(), and I'm an admin
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[详细]
2023-01-01 15:50 分类:问答How to determine whether an LSA session is active in Windows XP
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.[详细]
2022-12-19 10:36 分类:问答