Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than advapi32, prefix the name with the module name and a period.
ByVal hToken As IntPtr, _
ByVal strApplicationName As String, _
ByVal strCommandLine As String, _
ByRef lpProcessAttributes as SECURITY_ATTRIBUTES, _
ByRef lpThreadAttributes as SECURITY_ATTRIBUTES, _
ByVal bInheritHandles as Boolean, _
ByVal dwCreationFlags As Integer, _
ByVal lpEnvironment As Integer, _
ByVal lpCurrentDriectory As Integer, _
ByRef lpStartupInfo As STARTUPINFO, _
ByRef lpProcessInformation As PROCESS_INFORMATION) As Integer
User-Defined Types:
SECURITY_ATTRIBUTES
PROCESS_INFORMATION
STARTUPINFO
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
The LogonUser function attempts to log a user on to the local computer. The local computer is the computer from which LogonUser was called. You cannot use LogonUser to log on to a remote computer.
12/17/2022 3:26:24 AM - JM-163.116.163.139
Creates a new process, using the creditials supplied by hToken. The application opened is running under the credentials and authority for the user supplied to LogonUser.
10/1/2020 1:08:37 PM - -87.186.76.92
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
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).