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/07
23:55 UTC
Read the original article
Hit count: 95
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