   WinAPI LogonUser function cannot work in Win2000?
  Whem i use LogonUser function to login Window2000, it failed.It work in WindowsXP. Do you know why? Pls help.int token;LogonUser("userName", ".", "userPassword", 3, 0, out token); 
  The only specific thing said about it the docs is:quote:Windows 2000:  The process calling LogonUser requires the SE_TCB_NAME privilege. You can check GetLastError for details of why it fails (sometimes  ). ;  Yes. But i don''t understand how to enable the privilege from the document. It memtioned too little. Can teach me? 