Open GoogleCodeExporter opened 9 years ago
You would need to use impersonation for this, as the underlying Windows
Terminal
Services API does not provide any functions that take user name/password
information.
See issue 25 and the following blog post:
http://blogs.msdn.com/shawnfa/archive/2005/03/21/400088.aspx
Original comment by danports
on 30 Jan 2010 at 1:28
Would be nice to have this information in a doc somewhere.
Original comment by danports
on 8 Mar 2010 at 3:51
See impersonation code sample attached to issue 34. It might be nice to have a
managed
wrapper for the LogonUser API, unless there's one out there already to which we
can
refer people.
Original comment by danports
on 5 May 2010 at 11:06
This would be useful for the PowerShell users. I'll try to implement this in
either the 2.1 release or the next one after that.
Original comment by danports
on 8 May 2011 at 12:29
Original comment by danports
on 15 Feb 2012 at 2:51
I've already experimented a bit with this -- the trick will be figuring
something out that works in all situations (local vs. remote, cross-domain,
workstation to domain, etc.).
Original comment by danports
on 26 Feb 2012 at 2:15
Original issue reported on code.google.com by
pcTechHE...@gmail.com
on 29 Jan 2010 at 5:16