S
Sven Eric
Hi All,
I try to use user-impersonation in VB.NET with a user (let's call him Bill).
I'm using the LogonUser function to create the token and so on. This
works --> calling WindowsIdentity.GetCurrent().Name() afterwards gives me
the username I'm try to impersonate. But this is about all I can do, I don't
have access to the users files on the network, for instance I get an access
denied error when I try to open a file on
\\our-fileserver\home\bill\documents .
What am I missing?
Thnx in advance.
Sven
I try to use user-impersonation in VB.NET with a user (let's call him Bill).
I'm using the LogonUser function to create the token and so on. This
works --> calling WindowsIdentity.GetCurrent().Name() afterwards gives me
the username I'm try to impersonate. But this is about all I can do, I don't
have access to the users files on the network, for instance I get an access
denied error when I try to open a file on
\\our-fileserver\home\bill\documents .
What am I missing?
Thnx in advance.
Sven