Platform SDK: Network Management

Directory Service Functions

The network management directory service functions allow developers to work with the domain controller and domain membership in the directory service.

The network management directory service functions are listed following.

Function Description
NetGetJoinableOUs Retrieves a list of organizational units (OUs) in which a computer account can be created.
NetGetJoinInformation Retrieves join status information for the specified computer.
NetJoinDomain Joins a computer to a workgroup or domain.
NetRenameMachineInDomain Changes the name of a computer in a domain.
NetUnjoinDomain Unjoins a computer from a workgroup or a domain.
NetValidateName Verifies the validity of a computer name, workgroup name, or domain name.

For more information, see the Active Directory Reference.