Click or drag to resize

WindowsApiLogonUser Method

Win32 LogonUser function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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