Re: [python-win32] granting SeServiceLogonRight on a network account with pywin32?

2010-10-14 Thread Tim Roberts
Bill Janssen wrote: I've got an MSI installer for installing my UpLib server. I use the following bit of code in a custom action to grant the user the right to log on as a service, so that the service can run under their user-id: import win32api, win32security username =

[python-win32] granting SeServiceLogonRight on a network account with pywin32?

2010-10-14 Thread Bill Janssen
I've got an MSI installer for installing my UpLib server. I use the following bit of code in a custom action to grant the user the right to log on as a service, so that the service can run under their user-id: import win32api, win32security username =

Re: [python-win32] granting SeServiceLogonRight on a network account with pywin32?

2010-10-14 Thread Bill Janssen
Tim Roberts t...@probo.com wrote: Bill Janssen wrote: I've got an MSI installer for installing my UpLib server. I use the following bit of code in a custom action to grant the user the right to log on as a service, so that the service can run under their user-id: import win32api,