Impersonation of local account on remote machine
- From: "Chris Marsh" <cjm@xxxxxxxxxxxxxxxx>
- Date: Fri, 22 Jun 2007 13:57:38 +0100
Hi all
I have one machine (A) which is not on a domain. There is an local user
account on A (userA) that has access to a certain folder. I have another
machine (B). An application on B initialises a FileSystemWatcher to watch
the previously mentioned folder on A.
My question is: how do I ensure that the FileSystemWatcher is operating
under the local account userA on machine A? I've explored LogonUser(...),
but this appears to only work either on the local machine, or if the account
to be impersonated is on a domain.
Any pointers gratefully received.
Cheers!
--
Chris
.
- Prev by Date: Re: Automating the roll-out of permission sets & code groups
- Next by Date: .NET 2.0 Medium Trust Issue - CyberSource Payment Processing
- Previous by thread: Automating the roll-out of permission sets & code groups
- Next by thread: .NET 2.0 Medium Trust Issue - CyberSource Payment Processing
- Index(es):
Relevant Pages
|