![]() | ImpersonateLogonUser Method |
Namespace: EDK4Net.IO
[DllImportAttribute("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] [BrowsableAttribute(false)] public static bool LogonUser( string lpszUsername, string lpszDomain, string lpszPassword, int dwLogonType, int dwLogonProvider, ref IntPtr phToken )