banner.gif (5982 bytes)

mslogo.gif (666 bytes)

router.gif (3874 bytes)

Summary of New Interfaces and Constants
 

New ADSI 2.5 Interfaces

ADSI 2.5 introduces a few more interfaces. All detailed information can be found in the ADSI 2.5 Help file.

IADsPathName

Allows you to manipulate the ADsPath by setting and getting to the specific ADsPath element. This is useful for building a path, because it presents a friendly format to users.

IADsDeleteOps

For Active Directory only. This interface allows you to delete a subtree of objects in the Active Directory. It's transacted on the server side. The deletion is either committed or failed.

IADsObjectOptions

This interface allows you to change some behavior while retrieving objects, such as Page Size and Chase Referrals. It also allows you to get the server name (for Active Directory only). In Active Directory, you may specify serverless binding. This interface allows you to retrieve the actual server you're communicating to.

IADsPropertyValue2

Extension of the IADsPropertyValue interface. It's usefull for converting data type. For example, converting fom binary data to security descriptor or vice versa.

IADsExtension

An ADSI extension component must implement this interface if it wants to support a late-binding extension, or if it wants extension initialization notification.

IADsLargeInteger

Large integer is 64-bit data. This interface has two parts: HiPart and LowParts. Some Active Directory attributes such as uSNChange is 64 bits.

NDS Data Type Interfaces

Some data types are used for NDS, for example IADsHold, IADsFaxNumber, IADsOctetList, etc.

 

New Enumerations or Constants

Authentication Enumeration and New Constants

  • ADS_FAST_BIND. Binding to a server without checking the object's existence.
  • ADS_READONLY_SERVER. Include read-only servers during the server selection.
  • ADS_USE_SIGNING.  Encrypt using Kerberos (Active Directory only).
  • ADS_USE_SEALING. Verifies data integrity to ensure the data received is the same as the data sent.

Path Cracker ( IADsPathName )

  • ADS_SETTYPE. Set the type of the ADsPath you're setting.
  • ADS_FORMAT. Set the display format returned from this interface.

Object Option

  • ADS_OPTION_ENUM. Option to set the page size, chase referral, security mask, and server name.

Extension

  • ADS_EXT_INITCREDENTIALS. A notification from ADSI to the ADSI extension components that extension is about to be created (it may not be in a fully initialized state).