StartupImpersonatorLogonUser Method

Definition

Namespace: MbcsCentral
Assembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
C#
public static bool LogonUser(
	string lpszUserName,
	string lpszDomain,
	string lpszPassword,
	int dwLogonType,
	int dwLogonProvider,
	ref IntPtr phToken
)

Parameters

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

Return Value

Boolean

See Also