Esempio n. 1
0
    def security_descriptor(self):
        """The security descriptor of the device.

        :type: :class:`~windows.security.SecurityDescriptor`
        """

        return SecurityDescriptor.from_binary(self.raw_security_descriptor)
Esempio n. 2
0
def test_security_descriptor_from_binary(binsd):
    sd = SecurityDescriptor.from_binary(binsd)