Mapping ADSI Interfaces to the Network Management Functions

The Active Directory Service Interfaces (ADSI) are a set of COM interfaces used to access the capabilities of directory services from different network providers. ADSI presents a single set of directory service interfaces for managing network resources in a distributed computing environment.

If you are programming for Active Directory, you may be able to call certain ADSI interface methods to achieve the same functionality you can achieve by calling certain network management functions.

The following table lists network management functions and function groups, and the ADSI interfaces to which the functions map.

Functions Interfaces
NetFileEnum, NetFileGetInfo IADsResource, IADsFileServiceOperations
NetGroup* IADsGroup
NetLocalGroup* IADsGroup
NetServer* IADsComputer
NetSession* IADsSession, IADsFileServiceOperations
NetShare* IADsFileShare
NetUser* IADsUser, IADsComputer
NetUserModals* IADsDomain

 

For more information about directory services and programming with ADSI, see Active Directory Service Interfaces. For information about the custom properties the WinNT provider makes available for the User class, and the property methods of the IADsUser interface the WinNT provider does not support, see ADSI WinNT Provider.