ADS_SD_CONTROL_ENUM enumeration (iads.h)

The ADS_SD_CONTROL_ENUM enumeration specifies control flags for a security descriptor.

Syntax

typedef enum __MIDL___MIDL_itf_ads_0001_0048_0005 {
  ADS_SD_CONTROL_SE_OWNER_DEFAULTED,
  ADS_SD_CONTROL_SE_GROUP_DEFAULTED,
  ADS_SD_CONTROL_SE_DACL_PRESENT,
  ADS_SD_CONTROL_SE_DACL_DEFAULTED,
  ADS_SD_CONTROL_SE_SACL_PRESENT,
  ADS_SD_CONTROL_SE_SACL_DEFAULTED,
  ADS_SD_CONTROL_SE_DACL_AUTO_INHERIT_REQ,
  ADS_SD_CONTROL_SE_SACL_AUTO_INHERIT_REQ,
  ADS_SD_CONTROL_SE_DACL_AUTO_INHERITED,
  ADS_SD_CONTROL_SE_SACL_AUTO_INHERITED,
  ADS_SD_CONTROL_SE_DACL_PROTECTED,
  ADS_SD_CONTROL_SE_SACL_PROTECTED,
  ADS_SD_CONTROL_SE_SELF_RELATIVE
} ADS_SD_CONTROL_ENUM;

Constants

 
ADS_SD_CONTROL_SE_OWNER_DEFAULTED
A default mechanism provides the owner security identifier (SID) of the security descriptor rather than the original provider of the security descriptor.
ADS_SD_CONTROL_SE_GROUP_DEFAULTED
A default mechanism provides the group SID of the security descriptor rather than the original provider of the security descriptor.
ADS_SD_CONTROL_SE_DACL_PRESENT
The discretionary access-control list (DACL) is present in the security descriptor. If this flag is not set, or if this flag is set and the DACL is NULL, the security descriptor allows full access to everyone.
ADS_SD_CONTROL_SE_DACL_DEFAULTED
The security descriptor uses a default DACL built from the creator's access token.
ADS_SD_CONTROL_SE_SACL_PRESENT
The system access-control list (SACL) is present in the security descriptor.
ADS_SD_CONTROL_SE_SACL_DEFAULTED
The security descriptor uses a default SACL built from the creator's access token.
ADS_SD_CONTROL_SE_DACL_AUTO_INHERIT_REQ
THE DACL of the security descriptor must be inherited.
ADS_SD_CONTROL_SE_SACL_AUTO_INHERIT_REQ
The SACL of the security descriptor must be inherited.
ADS_SD_CONTROL_SE_DACL_AUTO_INHERITED
The DACL of the security descriptor supports automatic propagation of inheritable access-control entries (ACEs) to existing child objects.
ADS_SD_CONTROL_SE_SACL_AUTO_INHERITED
The SACL of the security descriptor supports automatic propagation of inheritable ACEs to existing child objects.
ADS_SD_CONTROL_SE_DACL_PROTECTED
The security descriptor will not allow inheritable ACEs to modify the DACL.
ADS_SD_CONTROL_SE_SACL_PROTECTED
The security descriptor will not allow inheritable ACEs to modify the SACL.
ADS_SD_CONTROL_SE_SELF_RELATIVE
The security descriptor is of self-relative format with all the security information in a continuous block of memory.

Remarks

For more information, see Access Control under Security in the Platform Software Development Kit (SDK).

Since VBScript cannot read information from a type library, VBScript applications do not understand the symbolic constants as defined above. You should use the numerical constants instead to set the appropriate flags in your VBScript applications. If you want to use the symbolic constants as a good programming practice, you should make explicit declarations of such constants, as done here, in your VBScript applications.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header iads.h

See also

ADSI Enumerations

Access Control