The network management functions can be grouped as follows.
Alert Functions
| Function | Description |
| NetAlertRaise | Notifies all registered clients that a particular event has occurred. |
| NetAlertRaiseEx | Simplifies notifying registered clients that a particular event has occurred, because, unlike
NetAlertRaise,
NetAlertRaiseEx does not require a
STD_ALERT structure. |
API Buffer Functions
| Function | Description |
| NetApiBufferAllocate | Allocates memory from the heap. Call this function when you require compatibility with the
NetApiBufferFree function. |
| NetApiBufferFree | Frees memory allocated by the
NetApiBufferAllocate function and other network management functions. |
| NetApiBufferReallocate | Changes the size of a buffer allocated by a call to the
NetApiBufferAllocate function. |
| NetApiBufferSize | Returns the size, in bytes, of a buffer allocated by a call to the
NetApiBufferAllocate function. |
Directory Service Functions
Get Functions
| Function | Description |
| 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. |
Group Functions
Local Group Functions
Message Functions
NetFile Functions
| Function | Description |
| NetFileClose | Forces a resource to close. |
| NetFileEnum | Returns information about open files on a server. |
| NetFileGetInfo | Returns information about a particular opening of a server resource. |
Remote Utility Functions
| Function | Description |
| NetRemoteComputerSupports | Queries the redirector to retrieve the optional features that a remote system supports. |
| NetRemoteTOD | Enables applications to access the time-of-day information on a remote server. |
Schedule Functions
Server Functions
| Function | Description |
| NetServerDiskEnum | Returns a list of local disk drives on a server. |
| NetServerEnum | Lists all visible servers of a particular type (or types) in the specified domain. |
| NetServerGetInfo | Returns configuration information about a specified server. |
| NetServerSetInfo | Sets the operating parameters for a server. |
Server and Workstation Transport Functions
Use Functions
| Function | Description |
| NetUseAdd | Creates a connection between a local computer and a server. |
| NetUseDel | Ends a connection to a shared resource. |
| NetUseEnum | Lists all current connections between the local computer and resources on remote servers. |
| NetUseGetInfo | Returns information about a connection to a shared resource. |
User Functions
| Function | Description |
| NetUserAdd | Adds a user account and assigns a password and privilege level. |
| NetUserChangePassword | Changes a user's password for a specified network server or domain. |
| NetUserDel | Deletes a user account from the server. |
| NetUserEnum | Lists all user accounts on a server. |
| NetUserGetGroups | Returns a list of global group names to which a user belongs. |
| NetUserGetInfo | Returns information about a particular user account on a server. |
| NetUserGetLocalGroups | Returns a list of local group names to which a user belongs. |
| NetUserSetGroups | Sets global group memberships for a specified user account. |
| NetUserSetInfo | Sets the password and other elements of a user account. |
User Modals Functions
| Function | Description |
| NetUserModalsGet | Returns global information for all users and global groups in the security database, which is the security accounts manager (SAM) database or, in the case of domain controllers, the Active Directory. |
| NetUserModalsSet | Sets global information for all users and global groups in the security database. |
Validation Functions
| Function | Description |
| NetValidatePasswordPolicyFree | Frees the memory that the NetValidatePasswordPolicy function allocates for the OutputArg parameter, |
| NetValidatePasswordPolicy | Enables an application to check password compliance against an application-provided account database and verify that passwords meet the complexity, aging, minimum length, and history reuse requirements of a password policy. |
Workstation and Workstation User Functions
Obsolete Functions
See Also
- Windows Networking Functions
Send comments about this topic to Microsoft
Build date: 7/9/2009