[fpc-pascal] su (switch user) application

Michael Van Canneyt michael at freepascal.org
Thu Aug 10 00:12:34 CEST 2006



On Wed, 9 Aug 2006, Johannes Nohl wrote:

> > Baseunix.
> 
> Great! I found it. Is there a Windows-way, too? Something like
> basewindows? Thanks...

As far as I know, there is no way to change the user-id of a running 
process. It is possible to start a process with a different set of
credentials; This mechanism (CreateProcessEx or CreateProcess or so) 
could be used to start the same process once more with the desired 
credentials.

Michael.



More information about the fpc-pascal mailing list