Get Functions

Get Functions

The network management get functions retrieve information about a domain. You can also call these functions to retrieve information about local, global, workstation, and server user accounts.

The network management get functions are listed following.

FunctionDescription
NetGetAnyDCName Returns the name of any domain controller for a domain that is directly trusted by a specified server.
NetGetDCName Returns the name of the primary domain controller (PDC) for the specified domain.
NetGetDisplayInformationIndex Returns the index of the first display information entry whose name begins with a specified string or alphabetically follows the string.
NetQueryDisplayInformation Returns user, computer, or global group account information.

 

The information returned by the NetQueryDisplayInformation function is available at the following levels:

 

 

Community Additions

ADD
Show:
© 2016 Microsoft