CSecurityDesc::IsOwnerDefaulted

确定安全描述符的所有者安全标识符(SID)默认情况下是否设置为。

bool IsOwnerDefaulted( ) const throw( );

返回值

返回true,则默认结构,而不是安全说明符的原始提供程序,假定安全说明符的所有者SID。否则返回 false。

备注

若要设置此标志,请使用 CSecurityDesc::SetOwner 方法。

要求

Header: atlsecurity.h

请参见

参考

CSecurityDesc选件类

SECURITY_DESCRIPTOR_CONTROL

CSecurityDesc::SetOwner

CSecurityDesc::GetOwner