win32security.ConvertSecurityDescriptorToStringSecurityDescriptor

string = ConvertSecurityDescriptorToStringSecurityDescriptor(SecurityDescriptor, RequestedStringSDRevision , SecurityInformation )

Return string representation of a SECURITY_DESCRIPTOR

Parameters

SecurityDescriptor : PySECURITY_DESCRIPTOR

PySECURITY_DESCRIPTOR object

RequestedStringSDRevision : int

Only SDDL_REVISION_1 currently valid

SecurityInformation : int

Combination of bit flags from SECURITY_INFORMATION enum