Partager via


CAccessToken::SetDefaultDacl

Call this method to set the default DACL of the CAccessToken object.

bool SetDefaultDacl(
   const CDacl& rDacl
) throw(...);

Parameters

Return Value

Returns true on success, false on failure.

Remarks

The default DACL is the DACL that is used by default when new objects are created with this access token in effect.

Requirements

Header: atlsecurity.h

See Also

Concepts

CAccessToken Class

CAccessToken Members

CAccessToken::GetDefaultDacl