CSecurityDesc::IsDaclPresent
Determines if the security descriptor contains a discretionary access-control list (DACL).
bool IsDaclPresent( ) const throw( );
Return Value
Returns true if the security descriptor contains a DACL, false otherwise.
Remarks
If this flag is not set, or if this flag is set and the DACL is NULL, the security descriptor allows full access to everyone.
This flag is used to hold the security information specified by a caller until the security descriptor is associated with a securable object. Once the security descriptor is associated with a securable object, the SE_DACL_PRESENT flag is always set in the security descriptor control.
To set this flag, use the CSecurityDesc::SetDacl method.
Requirements
Header: atlsecurity.h
See Also
Reference
CSecurityDesc::IsDaclAutoInherited