Platform SDK: Active Directory, ADSI, and Directory Services

WinNT ADsPath

The ADsPath string for the ADSI WinNT provider starts with either "WinNT:" or "WinNT://<DomainName>". For example,

"WinNT:"
"WinNT://MyDomain/MyServer/Jeff"
"WinNT://MyDomain/MyServer/User"
"WinNT://MyDomain/JeffSmith"
"WinNT://MyDomain/User"
"WinNT://MyDomain/Administrator"
"WinNT://MyDomain/Group"
"WinNT://MyDomain/MyComputer/aPrinter/"

The WinNT ADsPath can also include the class name of the object you wish to bind. For example,

"WinNT://MyDomain/MyComputer/aPrinter,printQueue" 
"WinNT://MyDomain/JeffSmith,user"

Using the class name improves the performance for binding.