Поделиться через


CSecurityDesc::IsDaclPresent

Determines if the security descriptor contains a discretionary access-control list (DACL).

bool IsDaclPresent( ) const throw( );

Возвращаемое значение

Returns true if the security descriptor contains a DACL, false otherwise.

Заметки

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.

Требования

Header: atlsecurity.h

См. также

Основные понятия

CSecurityDesc Class

CSecurityDesc Members

SECURITY_DESCRIPTOR_CONTROL

CSecurityDesc::IsDaclAutoInherited

CSecurityDesc::IsDaclDefaulted

CSecurityDesc::IsDaclProtected