Hi,
I have been trying to use the Impersonate user code that you have in
the PyWin32.chm document.
The code that I am trying is :
import win32security
import win32con
import win32api
class Impersonate:
def __init__(self,login,password):
self.domain='BLAHBLAH'
self.login=login
Tim Golden wrote:
Has anyone had success using the PyIMAPIFolder CopyMessages method?
The spambayes source looks as tho' it's using it happily, so I can't
imagine there's any fundamental problem. Only... it doesn't work for
me. :(
[... snip ...]
Don't you hate it when that happens? Of course,
Has anyone had success using the PyIMAPIFolder CopyMessages method?
The spambayes source looks as tho' it's using it happily, so I can't
imagine there's any fundamental problem. Only... it doesn't work for
me. :(
I have a reproducible test case attached which is -- in the way of the
extended MAPI
Vikas NV wrote:
Hi,
I have been trying to use the Impersonate user code that you have in
the PyWin32.chm document.
[... snip ...]
obj = Impersonate('another_user', '01928348')
obj.logon()
print win32api.GetUserName()
os.system('bash sleep.sh')
obj.logoff()
Unfortunately
Hi,
I have been trying to use the Impersonate user code that you have in
the PyWin32.chm document.
The code that I am trying is :
import win32security
import win32con
import win32api
class Impersonate:
def __init__(self,login,password):
self.domain='BLAHBLAH'
self.login=login