Click or drag to resize

WindowsApiLogonUser Method

Win32 LogonUser function.

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