需要自己声明:<br>function NetUserAdd(servername: LPCWSTR; level: DWORD; buf: Pointer;<br> parm_err: PDWORD): NET_API_STATUS; stdcall;external 'netapi32.dll';<br>function NetUserDel(servername: LPCWSTR; username: LPCWSTR): NET_API_STATUS; <br> stdcall;external 'netapi32.dll';<br>使用方法详见win32.hlp或MSDN