CSecurityDesc::GetGroup

从安全说明符检索主要组信息。

bool GetGroup(
   CSid * pSid,
   bool * pbDefaulted = NULL 
) const throw(...);

参数

  • pSid
    CSid (安全标识符)的指针进行分组的副本。CDacl存储状态。

  • pbDefaulted
    为标志的指针设置为SE_GROUP_DEFAULTED标志的值。SECURITY_DESCRIPTOR_CONTROL 结构的,当方法返回。

返回值

返回true,则方法成功,错误;如果失败。

要求

Header: atlsecurity.h

请参见

参考

CSecurityDesc选件类

GetSecurityDescriptorGroup

CSecurityDesc::GetControl

CSecurityDesc::GetDacl

CSecurityDesc::GetOwner

CSecurityDesc::GetSacl

CSecurityDesc::SetGroup