Module win32net

A module encapsulating the Windows Network API.

Methods

NetGetJoinInformation
Retrieves join status information for the specified computer. 

NetGroupGetInfo
Retrieves information about a particular group on a server. 

NetGroupGetUsers
Enumerates the users in a group. 

NetGroupSetUsers
Sets the users in a group on server. 

NetGroupSetInfo
Sets information about a particular group account on a server. 

NetGroupAdd
Creates a new group. 

NetGroupAddUser
Adds a user to a group 

NetGroupDel
Deletes a group. 

NetGroupDelUser
Deletes a user from the group 

NetGroupEnum
Enumerates the groups. 

NetGroupAdd
Creates a new group. 

NetLocalGroupAddMembers
Adds users to a local group. 

NetLocalGroupDelMembers
Deletes users from a local group. 

NetGroupDel
Deletes a group. 

NetGroupEnum
Enumerates the groups. 

NetGroupGetInfo
Retrieves information about a particular group on a server. 

NetLocalGroupGetMembers
Enumerates the members in a local group. 

NetGroupSetInfo
Sets information about a particular group account on a server. 

NetLocalGroupSetMembers
Sets the members of a local group. Any existing members not listed are removed. 

NetMessageBufferSend
sends a string to a registered message alias. 

NetMessageNameAdd
Add a message alias for a computer 

NetMessageNameDel
Removes a message alias 

NetMessageNameEnum
List message aliases for a computer 

NetServerEnum
Retrieves information about all servers of a specific type 

NetServerGetInfo
Retrieves information about a particular server. 

NetServerSetInfo
Sets information about a particular server. 

NetShareAdd
Creates a new share. 

NetShareDel
Deletes a share 

NetShareCheck
Checks if server is sharing a device 

NetShareEnum
Retrieves information about each shared resource on a server. 

NetShareGetInfo
Retrieves information about a particular share on a server. 

NetShareSetInfo
Sets information about a particular share on a server. 

NetUserAdd
Creates a new user. 

NetUserChangePassword
Changes a users password on the specified domain. 

NetUserEnum
Enumerates all users. 

NetUserGetGroups
Returns a list of groups,attributes for all groups for the user. 

NetUserGetInfo
Retrieves information about a particular user account on a server. 

NetUserGetLocalGroups
Retrieves a list of local groups to which a specified user belongs. 

NetUserSetInfo
Sets information about a particular user account on a server. 

NetUserDel
Deletes a user. 

NetUserModalsGet
Retrieves global user information on a server. 

NetUserModalsSet
Sets global user information on a server. 

NetWkstaUserEnum
Retrieves information about all users currently logged on to the workstation. 

NetWkstaGetInfo
returns information about the configuration elements for a workstation. 

NetWkstaSetInfo
Sets information about the configuration elements for a workstation. 

NetWkstaTransportEnum
Retrieves information about transport protocols that are currently managed by the redirector. 

NetWkstaTransportAdd
binds the redirector to a transport. 

NetWkstaTransportDel
unbinds transport protocol from the redirector. 

NetServerDiskEnum
Retrieves the list of disk drives on a server. 

NetUseAdd
Establishes connection between local or NULL device name and a shared resource through redirector. 

NetUseDel
Ends connection to a shared resource. 

NetUseEnum
Enumerates connection between local machine and shared resources on remote computers. 

NetUseGetInfo
Get information about locally mapped shared resource on remote computer. 

NetGetAnyDCName
Returns the name of any domain controller trusted by the specified server. 

NetGetDCName
Returns the name of the primary domain controller (PDC). 

NetSessionEnum
Returns network session for the server, limited to single client and/or user if specified. 

NetSessionDel
Delete network session for specified server, client computer and user. Returns None on success. 

NetSessionGetInfo
Get network session information. 

NetFileEnum
Returns open file resources for server (single client and/or user may also be passed as criteria). 

NetFileClose
Closes file for specified server and file id. 

NetFileGetInfo
Get info about files open on the server. 

NetStatisticsGet
Return server or workstation stats 

NetServerComputerNameAdd
Adds an extra network name for a server 

NetServerComputerNameDel
Deletes an emulated computer name created by win32net::PyNetServerComputerNameAdd  

NetValidateName
Verify that computer/domain name is valid for given context 

NetValidatePasswordPolicy
Allows an application to check password compliance against an application-provided account database.