Click to See Complete Forum and Search --> : LogonUser() API Problem


RahulKateWin32
September 24th, 2005, 05:53 AM
Hi,
I have code of this API I doesn't execute this API successfully it gives error Access Denied.I am executing this program with Administrator logon.
I am going to use Win2k so plz tell me any answer.

if( FALSE == LogonUser( pName, pDomain, pPasswd,
LOGON32_LOGON_INTERACTIVE,
LOGON32_PROVIDER_DEFAULT,
&hLogonToken ) );

Siddhartha
September 24th, 2005, 05:54 AM
[ moved ]

Regards,
Siddhartha

Siddhartha
September 24th, 2005, 05:57 AM
Incorrect authentication details like wrong user name or password can also cause problems...

Have you checked these up?

RahulKateWin32
September 24th, 2005, 06:15 AM
I have checked all possibility plz give me code and any setting to windows.

Andreas Masur
September 25th, 2005, 08:29 AM
RahulKateWin32,

Please stop cross-posting your questions to several forums since this is a violation of the Acceptable Use Policy (http://www.jupitermedia.com/corporate/privacy/aup.html). Thank you very much.