The DACL of the security descriptor. :type: :class:`Acl` or ``None`` if the DACL was ``NULL`` or not present
(self)
| 776 | |
| 777 | @property |
| 778 | def dacl(self): |
| 779 | """The DACL of the security descriptor. |
| 780 | |
| 781 | :type: :class:`Acl` or ``None`` if the DACL was ``NULL`` or not present |
| 782 | """ |
| 783 | dacl_present = gdef.BOOL() |
| 784 | pdacl = gdef.PACL() |
| 785 | lpbDaclDefaulted = gdef.BOOL() |
| 786 | winproxy.GetSecurityDescriptorDacl(self, dacl_present, pdacl, lpbDaclDefaulted) |
| 787 | if not dacl_present or not pdacl: |
| 788 | return None |
| 789 | return ctypes.cast(pdacl, PAcl)[0] |
| 790 | |
| 791 | @property |
| 792 | def sacl(self): |