win32security.ConvertStringSecurityDescriptorToSecurityDescriptor

PySECURITY_DESCRIPTOR = ConvertStringSecurityDescriptorToSecurityDescriptor(StringSecurityDescriptor, StringSDRevision )

Turns string representation of a SECURITY_DESCRIPTOR into the real thing

Parameters

StringSecurityDescriptor : string

String representation of a SECURITY_DESCRIPTOR

StringSDRevision : int

Only SDDL_REVISION_1 currently valid