Megosztás a következőn keresztül:


CAccessToken::GetDefaultDacl

Call this method to return the CAccessToken object's default DACL.

bool GetDefaultDacl( 
   CDacl* pDacl 
) const throw(...);

Parameters

  • pDacl
    Pointer to the CDacl Class object which will receive the CAccessToken object's default DACL.

Return Value

Returns true if the default DACL has been recovered, false otherwise.

Requirements

Header: atlsecurity.h

See Also

Reference

CAccessToken Class

CAccessToken::SetDefaultDacl