Platform SDK: Active Directory, ADSI, and Directory Services

ADS_FLAGTYPE_ENUM

The ADS_FLAGTYPE_ENUM enumeration specifies values that can be used to indicate the presence of the ObjectType or InheritedObjectType fields in the access-control entry (ACE).

typedef enum {
  ADS_FLAG_OBJECT_TYPE_PRESENT             = 0x1,
  ADS_FLAG_INHERITED_OBJECT_TYPE_PRESENT   = 0x2
  } ADS_FLAGTYPE_ENUM;

Elements

ADS_FLAG_OBJECT_TYPE_PRESENT
The ObjectType field is present in the ACE, but InheritedObjectType is not.
ADS_FLAG_INHERITED_OBJECT_TYPE_PRESENT
The InheritedObjectType field is present in the ACE, but ObjectType is not.

Remarks

ObjectType indicates what object type, property set, or property an ACE refers to. It takes a GUID as its value. The GUID referenced by ObjectType is not physically present in the ACE unless ADS_FLAGS_OBJECT_TYPE_PRESENT is set.

InheritedObjectType specifies the GUID of an object that will inherit the ACE. The GUID is not physically present in the ACE unless the ADS_FLAG_INHERITED_OBJECT_TYPE_PRESENT bit is set.

Note  Because 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

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
  Windows 95/98: Requires Windows 95 or later (with DSClient).
  Header: Declared in Iads.h.

See Also

ADSI Enumerations