This topic has not yet been rated - Rate this topic

Mapping ADSI Visual Basic Code to C++ Code

ADSI consists of more than 50 interfaces. Most directory operations can be completed using only five interfaces. They are:

The following table lists mappings from ADSI VB/VBS code to C++ code. Be aware that this is not a complete list.

VBS CodeVC Code
Set obj = GetObject()hr = AdsGetObject()
obj.Put obj.Get obj.ParentIADs or IDirectoryObject
obj.Create obj.Delete obj.MoveHereIADsContainer
For each… in…AdsBuildEnumerator() ADsEnumerateNext()
Connection, Command, RecordSetIDirectorySearch
Security descriptor, ACL, ACEIADsSecurityDescriptor, IADsAccessControlList, IADsAccessControlEntry

 

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.