Pinvoke logonuser. Think of it as https://pinvoke. ...
Pinvoke logonuser. Think of it as https://pinvoke. DESCRIPTION The LogonUser function attempts to log a user on to the local computer. You specify the user with a user name and domain, and authenticate the user with a plaintext password. The Win32 API does have a LogonUser function in the advapi32. If the function succeeds, you receive a handle to a token that represents the logged LogonUserW provides P/Invoke details for authenticating users in Windows using the ADVAPI32. LogonUser works only for my domain. Thanks to the wonderful work of PInvoke (now part of RedGate), you can easily get the signature of the PInvoke. dll DLL. . dll library. net, but proven to compile and work properly, and often with sample usage in the form of unit tests. You cannot use LogonUser Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). net is primarily a wiki, allowing developers to find, edit and add PInvoke * signatures, user-defined types, and any other information related to calling Win32 and other unmanaged . My real question is: Is it possible? And if Contribute to ZeroPointSecurity/PInvoke development by creating an account on GitHub. The local computer is the computer from which LogonUser was called. This next question seems to imply it is not possible, but it deals with 2 domains so I am not sure if it is relevant.