def security_descriptor(self): """The security descriptor of the device. :type: :class:`~windows.security.SecurityDescriptor` """ return SecurityDescriptor.from_binary(self.raw_security_descriptor)
def test_security_descriptor_from_binary(binsd): sd = SecurityDescriptor.from_binary(binsd)