[python-win32] win32security.SID - System Error

Tim Golden tim.golden at viacom-outdoor.co.uk
Thu Feb 12 03:56:55 EST 2004


From: Roger Upole [mailto:rwupole at msn.com]
>> It appears that the manual constructor is assuming that
>> the sub-authorities are going to be Long objects, and not
>> doing any type-checking or error checking, leaving an
>> exception hanging.

>> Looks like for a workaround, you can use

>> win32security.SID ((0, 0, 0, 0, 0, 5), (long(21), long(1511986248)))
  
>> Roger

Exactly what I needed to know. Thanks very much.

Tim

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-win32 mailing list