[DllImport("advapi32.dll", SetLastError=true)]
public static extern bool LogonUserEx(
string lpszUsername,
string lpszDomain,
string lpszPassword,
int dwLogonType,
int dwLogonProvider,
out IntPtr phToken,
IntPtr ppLogonSid, // nullable
IntPtr ppProfileBuffer, // nullable
IntPtr pdwProfileLength, // nullable
IntPtr pQuotaLimits // nullable
);
Declare Function LogonUserEx Lib "advapi32.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
This is new in Server2003 and XP.
Please add some!
Please add some!