CSecurityDesc Members

Methods

CSecurityDesc

The constructor.

~CSecurityDesc

The destructor.

FromString

Converts a string-format security descriptor into a valid, functional security descriptor.

GetControl

Retrieves control information from the security descriptor.

GetDacl

Retrieves discretionary access-control list (DACL) information from the security descriptor.

GetGroup

Retrieves the primary group information from the security descriptor.

GetOwner

Retrieves owner informaton from the security descriptor.

GetPSECURITY_DESCRIPTOR

Returns a pointer to the SECURITY_DESCRIPTOR structure.

GetSacl

Retrieves system access-control list (SACL) information from the security descriptor.

IsDaclAutoInherited

Determines if the DACL is configured to support automatic propagation.

IsDaclDefaulted

Determines if the security descriptor is configured with a default DACL.

IsDaclPresent

Determines if the security descriptor contains a DACL.

IsDaclProtected

Determines if the DACL is configured to prevent modifications.

IsGroupDefaulted

Determines if the security descriptor's group security identifier (SID) was set by default.

IsOwnerDefaulted

Determines if the security descriptor's owner SID was set by default.

IsSaclAutoInherited

Determines if the SACL is configured to support automatic propagation.

IsSaclDefaulted

Determines if the security descriptor is configured with a default SACL.

IsSaclPresent

Determines if the security descriptor contains a SACL.

IsSaclProtected

Determines if the SACL is configured to prevent modifications.

IsSelfRelative

Determines if the security descriptor is in self-relative format.

MakeAbsolute

Call this method to convert the security descriptor to absolute format.

MakeSelfRelative

Call this method to convert the security descriptor to self-relative format.

SetControl

Sets the control bits of a security descriptor.

SetDacl

Sets information in a DACL. If a DACL is already present in the security descriptor, it is replaced.

SetGroup

Sets the primary group information of an absolute format security descriptor, replacing any primary group information already present.

SetOwner

Sets the owner information of an absolute format security descriptor, replacing any owner information already present.

SetSacl

Sets information in a SACL. If a SACL is already present in the security descriptor, it is replaced.

ToString

Converts a security descriptor to a string format.

Operators

operator =

Assignment operator.

operator const SECURITY_DESCRIPTOR *

Returns a pointer to the SECURITY_DESCRIPTOR structure.

See Also

Reference

CSecurityDesc Class