Re: [Tutor] User identification and running in the background.

2006-12-13 Thread Wesley Brooks
Cheers, I'll consider that. So the client would effectively hand shake with the lower level program and be supplied with a list of permissions which the user has access to. You mentioned about many systems being multi-user. When the client attempts to connect to the lower machine is it a trivial i

Re: [Tutor] User identification and running in the background.

2006-12-13 Thread Tor Hildrum
On 12/12/06, Tim Golden <[EMAIL PROTECTED]> wrote: > But this is all quite Win32-specific (as well as > being hand-wavingly unspecific). I don't know > how you'd go about it on *nix but I bet it's nothing > like the same. The same general principle applies. You need to get a UID or similar from a

Re: [Tutor] User identification and running in the background.

2006-12-13 Thread Wesley Brooks
Cheers for the reply, I had feared as such! I didn't want to have to code two different apps (windows or linux), or at best have large block of code around a few cases base on the result of sys.platform. The system is based on Windows at the moment, but I would of liked to have produced a version

Re: [Tutor] User identification and running in the background.

2006-12-12 Thread Tim Golden
| I've had a quick scan around and can't find a way to identify the user | who is logged in on the machine while a script is running? I've seen a | few mentions of it being possible using bits of the win32 library but | I would have liked my software to be portable with no adjustments. | | How can

[Tutor] User identification and running in the background.

2006-12-12 Thread Wesley Brooks
Good morning Users, I've had a quick scan around and can't find a way to identify the user who is logged in on the machine while a script is running? I've seen a few mentions of it being possible using bits of the win32 library but I would have liked my software to be portable with no adjustments.