Thanks Roger,

This works well. I was a bit confused since I only looked
at the win32security.SID documentation, and there the constructor
does not have any documented parameters.

However, my real problem is not solved. It involves the creation
of folders and assigning appropriate permissions for them to a
newly created user in Active Directory, I will write this question
as second mail.

And sorry for the late reply, I'm only in the office on Monday
and Tuesday.

Regards,
  Alex

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Roger Upole
> Sent: Tuesday, January 10, 2006 5:09 PM
> To: [email protected]
> Subject: [python-win32] Re: Converting objectSid attribute value to a
> PySID
> 
> 
> You can pass a string or buffer to pywintypes.SID() 
> to create a PySID from the raw bytes.
> 
>       Roger
> 
> _______________________________________________
> Python-win32 mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/python-win32
> 
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to