 | ImpersonateLogonUserA Method |
Namespace:
EDK4Net.IO
Assembly:
EDK4Net (in EDK4Net.dll) Version: 3.0.7.3
Syntax[DllImportAttribute("advapi32.dll")]
[BrowsableAttribute(false)]
public static int LogonUserA(
string lpszUserName,
string lpszDomain,
string lpszPassword,
int dwLogonType,
int dwLogonProvider,
ref IntPtr phToken
)
Parameters
- lpszUserName
- Type: SystemString
- lpszDomain
- Type: SystemString
- lpszPassword
- Type: SystemString
- dwLogonType
- Type: SystemInt32
- dwLogonProvider
- Type: SystemInt32
- phToken
- Type: SystemIntPtr
Return Value
Type:
Int32
See Also