CSecurityDesc::GetOwner
Retrieves owner informaton from the security descriptor.
bool GetOwner(
CSid * pSid,
bool * pbDefaulted = NULL
) const throw(...);
Параметры
pSid
Pointer to a CSid (security identifier) that receives a copy of the group stored in the CDacl.pbDefaulted
Pointer to a flag set to the value of the SE_OWNER_DEFAULTED flag in the SECURITY_DESCRIPTOR_CONTROL structure when the method returns.
Возвращаемое значение
Returns true if the method succeeds, false if it fails.
Требования
Header: atlsecurity.h