E
eliassal
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.GetCategories(myserver)
I get "Access denied" in spite of the fact that the user is a domain adnin
and when I use this logon to map a share from my laptop Ihave no issue.
Thanks for your help
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.GetCategories(myserver)
I get "Access denied" in spite of the fact that the user is a domain adnin
and when I use this logon to map a share from my laptop Ihave no issue.
Thanks for your help