Skip to content

ADSTYPEENUM

The ADSTYPEENUM enumeration is used to identify the data type of a property value.

Syntax

enum ADSTYPEENUM
{
    ADSTYPE_INVALID                  = 0,   //0x0
    ADSTYPE_DN_STRING                = 1,   //0x1
    ADSTYPE_CASE_EXACT_STRING        = 2,   //0x2
    ADSTYPE_CASE_IGNORE_STRING       = 3,   //0x3
    ADSTYPE_PRINTABLE_STRING         = 4,   //0x4
    ADSTYPE_NUMERIC_STRING           = 5,   //0x5
    ADSTYPE_BOOLEAN                  = 6,   //0x6
    ADSTYPE_INTEGER                  = 7,   //0x7
    ADSTYPE_OCTET_STRING             = 8,   //0x8
    ADSTYPE_UTC_TIME                 = 9,   //0x9
    ADSTYPE_LARGE_INTEGER            = 10,  //0xA
    ADSTYPE_PROV_SPECIFIC            = 11,  //0xB
    ADSTYPE_OBJECT_CLASS             = 12,  //0xC
    ADSTYPE_CASEIGNORE_LIST          = 13,  //0xD
    ADSTYPE_OCTET_LIST               = 14,  //0xE
    ADSTYPE_PATH                     = 15,  //0xF
    ADSTYPE_POSTALADDRESS            = 16,  //0x10
    ADSTYPE_TIMESTAMP                = 17,  //0x11
    ADSTYPE_BACKLINK                 = 18,  //0x12
    ADSTYPE_TYPEDNAME                = 19,  //0x13
    ADSTYPE_HOLD                     = 20,  //0x14
    ADSTYPE_NETADDRESS               = 21,  //0x15
    ADSTYPE_REPLICAPOINTER           = 22,  //0x16
    ADSTYPE_FAXNUMBER                = 23,  //0x17
    ADSTYPE_EMAIL                    = 24,  //0x18
    ADSTYPE_NT_SECURITY_DESCRIPTOR   = 25,  //0x19
    ADSTYPE_UNKNOWN                  = 26,  //0x1A
    ADSTYPE_DN_WITH_BINARY           = 27,  //0x1B
    ADSTYPE_DN_WITH_STRING           = 28   //0x1C

}

Constants

  • Flag

  • Description

  • ADSTYPE_INVALID

  • The data type is invalid.

  • ADSTYPE_DN_STRING

  • The string is of a Distinguished Name (DN) of a directory object.

  • ADSTYPE_CASE_EXACT_STRING

  • The string is of the case-sensitive type.

  • ADSTYPE_CASE_IGNORE_STRING

  • The string is of the case-insensitive type.

  • ADSTYPE_PRINTABLE_STRING

  • The string is displayable on screen or in print.

  • ADSTYPE_NUMERIC_STRING

  • The string is of a numeral to be interpreted as text.

  • ADSTYPE_BOOLEAN

  • The data is of a Boolean value.

  • ADSTYPE_INTEGER

  • The data is of an integer value.

  • ADSTYPE_OCTET_STRING

  • The string is of a byte array.

  • ADSTYPE_UTC_TIME

  • The data is of the universal time as expressed in Universal Time Coordinate (UTC).

  • ADSTYPE_LARGE_INTEGER

  • The data is of a long integer value.

  • ADSTYPE_PROV_SPECIFIC

  • The string is of a provider-specific string.

  • ADSTYPE_OBJECT_CLASS

  • Not used.

  • ADSTYPE_CASEIGNORE_LIST

  • The data is of a list of case insensitive strings.

  • ADSTYPE_OCTET_LIST

  • The data is of a list of octet strings.

  • ADSTYPE_PATH

  • The string is of a directory path.

  • ADSTYPE_POSTALADDRESS

  • The string is of the postal address type.

  • ADSTYPE_TIMESTAMP

  • The data is of a time stamp in seconds.

  • The string is of a back link.

  • ADSTYPE_TYPEDNAME

  • The string is of a typed name.

  • ADSTYPE_HOLD

  • The data is of the Hold data structure.

  • ADSTYPE_NETADDRESS

  • The string is of a net address.

  • ADSTYPE_REPLICAPOINTER

  • The data is of a replica pointer.

  • ADSTYPE_FAXNUMBER

  • The string is of a fax number.

  • ADSTYPE_EMAIL

  • The data is of an email message.

  • ADSTYPE_NT_SECURITY_DESCRIPTOR

  • The data is of Windows NT/Windows 2000 security descriptor as represented by a byte array.

  • ADSTYPE_UNKNOWN

  • The data is of an undefined type.

  • ADSTYPE_DN_WITH_BINARY

  • The data is of ADS_DN_WITH_BINARY used for mapping a distinguished name to a non-varying GUID.

  • ADSTYPE_DN_WITH_STRING

  • The data is of ADS_DN_WITH_STRING used for mapping a distinguished name to a non-varying string value.

Requirements

Minimum required version: 2009.1

See also