Name

NetUserDel( )

Synopsis

Deletes a user account from a server.

NetUserDel(serverName, userName)

Parameters

serverName

A string specifying the name of the remote server on which the function is to execute. If this parameter is None, the local computer is used.

userName

A string specifying the username to be deleted.

Get Python Programming On Win32 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.