Active Directory Service (ADS) defines a naming convention that can uniquely identify a DirectScript object in a heterogeneous environment.
These names are called ADsPath strings. ADsPath strings are COM display names.
The two supported formats are:
URL (Uniform Resource Locator) format
The preferred format is the URL format. Through the IADs interface, all Active Directory Objects have three properties:
Parent: The name of the container containing this object
ADsName: The complete ADsPath of this object
Name: The leaf name of this object
DirectScript uses the string "NTDS" so that you can connect to the DirectScript provider.
The syntax for a URL IADsPath looks like this:
"NTDS://Root_Domain/MachineName/JaneSmith".
The same path in the case of OLE looks like this:
"@NTDS!//Root_Domain/MachineName/JaneSmith".
Note: The OLE convention uses a leading '@' and a trailing '!' around NTDS which is the ProgID of DirectScript as an ADS provider. However, the URL format is the preferred way of giving the ADsPath.
See Also