Errors when You Delete Your Account with NetUserDel() (60616)
The information in this article applies to:
- Microsoft LAN Manager 2.0
- Microsoft LAN Manager 2.1
- Microsoft LAN Manager 2.1a
- Microsoft LAN Manager 2.2
This article was previously published under Q60616 SUMMARY
It is possible to delete your own user account with the NetUserDel() API,
if you are logged on with administrative privilege. The API will delete the
account but returns errors. These errors differ, depending on whether you
are accessing the server locally or remotely.
On a local server, NetUserDel() returns error code 5, "access denied,"
as NetUserDel() attempts to call NetSessionEnum() and NetSessionDel().
On a remote computer, NetUserDel() returns ERROR_VC_DISCONNECTED
(240).
This is expected behavior, and will not be changed.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB60616 |
---|
|