Condividi tramite


CPrivateObjectSecurityDesc Class

This class represents a private object security descriptor object.

class CPrivateObjectSecurityDesc : public CSecurityDesc

Members

Public Constructors

Name

Description

CPrivateObjectSecurityDesc::CPrivateObjectSecurityDesc

The constructor.

CPrivateObjectSecurityDesc::~CPrivateObjectSecurityDesc

The destructor.

Public Methods

Name

Description

CPrivateObjectSecurityDesc::ConvertToAutoInherit

Call this method to convert a security descriptor and its access-control lists (ACLs) to a format that supports automatic propagation of inheritable access-control entries (ACEs).

CPrivateObjectSecurityDesc::Create

Call this method to allocate and initialize a self-relative security descriptor for the private object created by the calling resource manager.

CPrivateObjectSecurityDesc::Get

Call this method to retrieve information from a private object's security descriptor.

CPrivateObjectSecurityDesc::Set

Call this method to modify a private object's security descriptor.

Operators

operator =

Assignment operator.

Remarks

This class, derived from CSecurityDesc, provides methods for creating and managing the security descriptor of a private object.

For an introduction to the access control model in Windows, see Access Control in the Windows SDK.

Inheritance Hierarchy

CSecurityDesc

CPrivateObjectSecurityDesc

Requirements

Header: atlsecurity.h

See Also

Reference

SECURITY_DESCRIPTOR

CSecurityDesc Class

Other Resources

ATL Class Overview

Security Global Functions