LogonUser function (2 replies)

Posted on .NET 247 See other posts from .NET 247
Published on 18 Feb 2010 12:08:58 Indexed on 2010/03/08 3:32 UTC
Read the original article Hit count: 215

Filed under:
I am trying to access a server using LogonUser function as follows Dim returnValue As Boolean LogonUser(Domain\UserName, MachineName, password, LOGON32 LOGON NEW CREDENTIALS, LOGON32 PROVIDER DEFAULT, tokenHandle) I get a token, and seems to me that I get authenticated. However when I execute the following Dim AllCountersCategories As PerformanceCounterCategory() PerformanceCounterCategory.GetCate...

© .NET 247 or respective owner