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


CSecurityDesc::GetGroup

Retrieves the primary group information from the security descriptor.

bool GetGroup(
   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_GROUP_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

См. также

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

CSecurityDesc Class

CSecurityDesc Members

GetSecurityDescriptorGroup

CSecurityDesc::GetControl

CSecurityDesc::GetDacl

CSecurityDesc::GetOwner

CSecurityDesc::GetSacl

CSecurityDesc::SetGroup