Click or drag to resize

WindowsApiLogonUser Method

Win32 LogonUser function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
[DllImportAttribute("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
public static bool LogonUser(
	string lpszUsername,
	string lpszDomain,
	string lpszPassword,
	int dwLogonType,
	int dwLogonProvider,
	out IntPtr phToken
)
View Source

Parameters

lpszUsername  String
 
lpszDomain  String
 
lpszPassword  String
 
dwLogonType  Int32
 
dwLogonProvider  Int32
 
phToken  IntPtr
 

Return Value

Boolean
See Also